Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.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.001779/0.001779, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002298/0.002298, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.216/0.216, allocations: 38.52 MB / 352.5 MB, free: 12.53 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.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",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.002273/0.002273, allocations: 71.88 kB / 492.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3783, allocations: 62.46 MB / 0.542 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.01036/0.3887, allocations: 7.879 MB / 0.5497 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007917/0.3966, allocations: 4.836 MB / 0.5544 GB, free: 6.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007381/0.3973, allocations: 17.16 kB / 0.5544 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003258/0.4006, allocations: 1.127 MB / 0.5555 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004027/0.4046, allocations: 1.271 MB / 0.5568 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.406, allocations: 374.9 kB / 0.5571 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002838/0.4089, allocations: 1.46 MB / 0.5586 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.4099, allocations: 0.5167 MB / 0.5591 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.4115, allocations: 0.6614 MB / 0.5597 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/0.4131, allocations: 0.771 MB / 0.5605 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002442/0.4134, allocations: 68 kB / 0.5605 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/0.4166, allocations: 1.473 MB / 0.562 GB, free: 16 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007267/0.4173, allocations: 0.4987 MB / 0.5624 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000892/0.4182, allocations: 457.9 kB / 0.5629 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003241/0.4215, allocations: 1.542 MB / 0.5644 GB, free: 13.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4215, allocations: 0 / 0.5644 GB, free: 13.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4215, allocations: 4 kB / 0.5644 GB, free: 13.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.083e-05/0.4215, allocations: 0 / 0.5644 GB, free: 13.52 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002212/0.4237, allocations: 1.115 MB / 0.5655 GB, free: 12.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.4238, allocations: 11.98 kB / 0.5655 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001858/0.424, allocations: 139.4 kB / 0.5656 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003392/0.4274, allocations: 411.9 kB / 0.566 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009618/0.4283, allocations: 449.6 kB / 0.5665 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.405e-05/0.4284, allocations: 58.36 kB / 0.5665 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.4285, allocations: 76.31 kB / 0.5666 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.4305, allocations: 1.242 MB / 0.5678 GB, free: 9.941 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.4306, allocations: 3.938 kB / 0.5678 GB, free: 9.938 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-05/0.4307, allocations: 31.98 kB / 0.5678 GB, free: 9.906 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/0.4308, allocations: 77.95 kB / 0.5679 GB, free: 9.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.4329, allocations: 1.315 MB / 0.5692 GB, free: 8.512 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008153/0.4411, allocations: 3.606 MB / 0.5727 GB, free: 4.809 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002871/0.4439, allocations: 1.016 MB / 0.5737 GB, free: 3.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.4454, allocations: 0.5668 MB / 0.5743 GB, free: 3.199 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.4455, allocations: 33.11 kB / 0.5743 GB, free: 3.164 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.4455, allocations: 39.56 kB / 0.5743 GB, free: 3.117 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 4.379e-06/0.4455, allocations: 0 / 0.5743 GB, free: 3.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.01184/0.4574, allocations: 3.064 MB / 0.5773 GB, free: 48 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.4575, allocations: 90.11 kB / 0.5774 GB, free: 15.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006941/0.4582, allocations: 381.5 kB / 0.5778 GB, free: 15.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.71e-05/0.4583, allocations: 41.7 kB / 0.5778 GB, free: 15.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003505/0.4586, allocations: 336.8 kB / 0.5781 GB, free: 15.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004556/0.4591, allocations: 333.1 kB / 0.5784 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000395/0.4595, allocations: 162.6 kB / 0.5786 GB, free: 14.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002756/0.4598, allocations: 374.8 kB / 0.579 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.461, allocations: 465.7 kB / 0.5794 GB, free: 13.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/0.4623, allocations: 0.5704 MB / 0.58 GB, free: 13.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002733/0.465, allocations: 1.118 MB / 0.581 GB, free: 12.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.465, allocations: 0 / 0.581 GB, free: 12.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003931/0.469, allocations: 1.47 MB / 0.5825 GB, free: 10.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.469, allocations: 8 kB / 0.5825 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.469, allocations: 7.938 kB / 0.5825 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.4701, allocations: 336.8 kB / 0.5828 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007492/0.4709, allocations: 183.7 kB / 0.583 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00604/0.4769, allocations: 4.06 MB / 0.587 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005409/0.4775, allocations: 47.94 kB / 0.587 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.656e-05/0.4775, allocations: 43.98 kB / 0.587 GB, free: 5.809 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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.000469/0.478, allocations: 301.5 kB / 0.5873 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.4781, allocations: 59.62 kB / 0.5874 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00286/0.481, allocations: 1.543 MB / 0.5889 GB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.481, allocations: 8 kB / 0.5889 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.481, allocations: 4 kB / 0.5889 GB, free: 3.875 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.481, allocations: 7.984 kB / 0.5889 GB, free: 3.867 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.005346/0.4864, allocations: 2.976 MB / 0.5918 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.4864, allocations: 4 kB / 0.5918 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000639/0.487, allocations: 159.8 kB / 0.592 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008247/0.4879, allocations: 284.9 kB / 0.5923 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.216e-05/0.4879, allocations: 27.98 kB / 0.5923 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005465/0.4934, allocations: 3.796 MB / 0.596 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.4934, allocations: 15.81 kB / 0.596 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/0.4961, allocations: 1.571 MB / 0.5975 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.4962, allocations: 71.55 kB / 0.5976 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.211e-05/0.4963, allocations: 23.98 kB / 0.5976 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/0.4967, allocations: 39.97 kB / 0.5977 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.4969, allocations: 88.72 kB / 0.5977 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-05/0.497, allocations: 36 kB / 0.5978 GB, free: 10.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003295/0.4973, allocations: 263.1 kB / 0.598 GB, free: 10.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4973, allocations: 0 / 0.598 GB, free: 10.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009666/0.4983, allocations: 312 kB / 0.5983 GB, free: 9.91 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.002974/0.5012, allocations: 2.133 MB / 0.6004 GB, free: 7.703 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002312/0.5036, allocations: 1.331 MB / 0.6017 GB, free: 6.363 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5036, allocations: 0 / 0.6017 GB, free: 6.363 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.5049, allocations: 0.7928 MB / 0.6025 GB, free: 5.559 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007185/0.5056, allocations: 113.1 kB / 0.6026 GB, free: 5.449 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/0.5178, allocations: 7.636 MB / 0.6101 GB, free: 13.56 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.519, allocations: 1.087 MB / 0.6111 GB, free: 12.45 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005009/0.5195, allocations: 184.7 kB / 0.6113 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004613/0.5199, allocations: 267.3 kB / 0.6115 GB, free: 12 MB / 462.1 MB Notification: Performance of SimCode: time 1.613e-06/0.5199, allocations: 0 / 0.6115 GB, free: 12 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05903/0.579, allocations: 17.86 MB / 0.629 GB, free: 10.26 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.12, allocations: 4.484 kB / 0.629 GB, free: 10.25 MB / 478.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.069833785062656] Failed to read output from testmodel.py, exit status != 0: 13.259759532054886 13.275991931 12.851210732 Calling exit ...