Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 206.1 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.586/1.586, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2021/0.2021, allocations: 38.52 MB / 353.2 MB, free: 12.55 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 79.12 kB / 493.3 MB, free: 4.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3762, allocations: 62.46 MB / 0.5428 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.009274/0.3855, allocations: 7.61 MB / 0.5502 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007849/0.3933, allocations: 4.483 MB / 0.5546 GB, free: 7.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006605/0.394, allocations: 17.31 kB / 0.5546 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003171/0.3971, allocations: 1.074 MB / 0.5556 GB, free: 6.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003886/0.401, allocations: 1.213 MB / 0.5568 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.4023, allocations: 323.4 kB / 0.5571 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002431/0.4047, allocations: 1.397 MB / 0.5585 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009982/0.4057, allocations: 0.5141 MB / 0.559 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.4071, allocations: 0.6454 MB / 0.5596 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.4083, allocations: 0.7399 MB / 0.5604 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.4084, allocations: 64 kB / 0.5604 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003239/0.4117, allocations: 1.375 MB / 0.5618 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006138/0.4123, allocations: 482.8 kB / 0.5622 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006121/0.4129, allocations: 449.9 kB / 0.5626 GB, free: 268 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002746/0.4156, allocations: 1.452 MB / 0.5641 GB, free: 14.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.4157, allocations: 0 / 0.5641 GB, free: 14.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4157, allocations: 3.938 kB / 0.5641 GB, free: 14.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.4157, allocations: 4 kB / 0.5641 GB, free: 14.8 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.00238/0.4181, allocations: 1.076 MB / 0.5651 GB, free: 13.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.679e-05/0.4181, allocations: 15.98 kB / 0.5651 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.278e-05/0.4182, allocations: 22.19 kB / 0.5652 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001649/0.4183, allocations: 127.2 kB / 0.5653 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003267/0.4216, allocations: 395.9 kB / 0.5657 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008263/0.4224, allocations: 433.7 kB / 0.5661 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.747e-05/0.4225, allocations: 54.36 kB / 0.5661 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.4226, allocations: 72.36 kB / 0.5662 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.4246, allocations: 1.183 MB / 0.5673 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.4246, allocations: 4 kB / 0.5673 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.026e-05/0.4247, allocations: 27.94 kB / 0.5674 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/0.4248, allocations: 77.95 kB / 0.5675 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.4267, allocations: 1.237 MB / 0.5687 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005721/0.4325, allocations: 3.427 MB / 0.572 GB, free: 6.484 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.4342, allocations: 0.9836 MB / 0.573 GB, free: 5.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00091/0.4351, allocations: 0.5939 MB / 0.5735 GB, free: 4.883 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-05/0.4352, allocations: 20.97 kB / 0.5736 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.015e-05/0.4353, allocations: 43.56 kB / 0.5736 GB, free: 4.809 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.286e-06/0.4353, allocations: 0 / 0.5736 GB, free: 4.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.007013/0.4423, allocations: 3.01 MB / 0.5765 GB, free: 1.793 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.4423, allocations: 90.11 kB / 0.5766 GB, free: 1.688 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004578/0.4428, allocations: 361.6 kB / 0.577 GB, free: 1.328 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.211e-05/0.4429, allocations: 41.7 kB / 0.577 GB, free: 1.281 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.4431, allocations: 320.9 kB / 0.5773 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003266/0.4434, allocations: 329.1 kB / 0.5776 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002673/0.4437, allocations: 162.6 kB / 0.5778 GB, free: 484 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.4439, allocations: 370.8 kB / 0.5781 GB, free: 104 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007453/0.4446, allocations: 465.7 kB / 0.5786 GB, free: 15.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007929/0.4454, allocations: 0.5657 MB / 0.5791 GB, free: 15.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.4471, allocations: 1.117 MB / 0.5802 GB, free: 13.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4471, allocations: 4 kB / 0.5802 GB, free: 13.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002697/0.4498, allocations: 1.466 MB / 0.5817 GB, free: 12.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.4498, allocations: 10.81 kB / 0.5817 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.4498, allocations: 0 / 0.5817 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000975/0.4508, allocations: 336.7 kB / 0.582 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007267/0.4515, allocations: 183.7 kB / 0.5822 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00588/0.4574, allocations: 4.085 MB / 0.5862 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006452/0.458, allocations: 43.95 kB / 0.5862 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.41e-05/0.4581, allocations: 39.97 kB / 0.5862 GB, free: 7.602 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005016/0.4586, allocations: 293.5 kB / 0.5865 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.4587, allocations: 59.73 kB / 0.5866 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003056/0.4618, allocations: 1.551 MB / 0.5881 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.4618, allocations: 12 kB / 0.5881 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.4618, allocations: 4 kB / 0.5881 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.4618, allocations: 7.969 kB / 0.5881 GB, free: 5.656 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005548/0.4674, allocations: 2.987 MB / 0.591 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.4674, allocations: 4.438 kB / 0.591 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006752/0.4681, allocations: 175.7 kB / 0.5912 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008159/0.4689, allocations: 284.6 kB / 0.5915 GB, free: 2.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.951e-05/0.469, allocations: 23.98 kB / 0.5915 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005413/0.4744, allocations: 3.815 MB / 0.5952 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/0.4744, allocations: 11.94 kB / 0.5952 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002811/0.4772, allocations: 1.587 MB / 0.5968 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.4774, allocations: 63.61 kB / 0.5968 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.65e-05/0.4775, allocations: 27.92 kB / 0.5969 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004595/0.4779, allocations: 43.97 kB / 0.5969 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.4781, allocations: 88.66 kB / 0.597 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-05/0.4782, allocations: 43.98 kB / 0.597 GB, free: 12.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003199/0.4785, allocations: 255.2 kB / 0.5973 GB, free: 11.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4785, allocations: 0 / 0.5973 GB, free: 11.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001037/0.4796, allocations: 300 kB / 0.5976 GB, free: 11.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003008/0.4826, allocations: 2.149 MB / 0.5997 GB, free: 9.434 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002498/0.4851, allocations: 1.338 MB / 0.601 GB, free: 8.086 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.4851, allocations: 0 / 0.601 GB, free: 8.086 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.4864, allocations: 0.7929 MB / 0.6018 GB, free: 7.277 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007412/0.4871, allocations: 105.5 kB / 0.6019 GB, free: 7.176 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/0.4986, allocations: 7.55 MB / 0.6092 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008082/0.4994, allocations: 1.076 MB / 0.6103 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005084/0.4999, allocations: 176.6 kB / 0.6104 GB, free: 14.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004377/0.5003, allocations: 263.3 kB / 0.6107 GB, free: 13.86 MB / 462.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5003, allocations: 0 / 0.6107 GB, free: 13.86 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0562/0.5565, allocations: 17.69 MB / 0.628 GB, free: 12.29 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.09, allocations: 11.92 kB / 0.628 GB, free: 12.28 MB / 478.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.242097074980848] Failed to read output from testmodel.py, exit status != 0: 13.25775223202072 13.273639588 12.854497291 Calling exit ...