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.002043/0.002043, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002789/0.002789, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.505/1.505, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2087/0.2087, allocations: 38.52 MB / 353.2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",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.002003/0.002003, allocations: 59.91 kB / 493.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3338, allocations: 62.48 MB / 0.5428 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.009374/0.3432, allocations: 7.875 MB / 0.5505 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00704/0.3502, allocations: 4.835 MB / 0.5552 GB, free: 6.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004427/0.3507, allocations: 22.56 kB / 0.5552 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002782/0.3535, allocations: 1.122 MB / 0.5563 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003046/0.3565, allocations: 1.271 MB / 0.5575 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.3576, allocations: 370.9 kB / 0.5579 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001815/0.3594, allocations: 1.465 MB / 0.5593 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000797/0.3602, allocations: 0.5174 MB / 0.5598 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.3613, allocations: 0.6536 MB / 0.5605 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.3624, allocations: 0.7787 MB / 0.5612 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.931e-05/0.3625, allocations: 68 kB / 0.5613 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002604/0.3651, allocations: 1.477 MB / 0.5627 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004872/0.3656, allocations: 0.4947 MB / 0.5632 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004727/0.366, allocations: 453.9 kB / 0.5637 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.3682, allocations: 1.549 MB / 0.5652 GB, free: 13.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3682, allocations: 0 / 0.5652 GB, free: 13.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3682, allocations: 0 / 0.5652 GB, free: 13.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.3682, allocations: 0 / 0.5652 GB, free: 13.49 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.001759/0.3699, allocations: 1.109 MB / 0.5662 GB, free: 12.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.37, allocations: 15.98 kB / 0.5663 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.698e-05/0.37, allocations: 26.12 kB / 0.5663 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.3702, allocations: 135.4 kB / 0.5664 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003398/0.3736, allocations: 415.8 kB / 0.5668 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009283/0.3745, allocations: 449.6 kB / 0.5672 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.106e-05/0.3745, allocations: 54.36 kB / 0.5673 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.3747, allocations: 84.25 kB / 0.5674 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/0.3767, allocations: 1.23 MB / 0.5686 GB, free: 9.902 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.3768, allocations: 4 kB / 0.5686 GB, free: 9.898 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.43e-05/0.3768, allocations: 27.98 kB / 0.5686 GB, free: 9.871 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.377, allocations: 77.89 kB / 0.5687 GB, free: 9.793 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/0.379, allocations: 1.315 MB / 0.57 GB, free: 8.477 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006081/0.3851, allocations: 3.614 MB / 0.5735 GB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.3869, allocations: 1.012 MB / 0.5745 GB, free: 3.727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008927/0.3878, allocations: 0.5747 MB / 0.575 GB, free: 3.148 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.689e-05/0.3879, allocations: 13.14 kB / 0.5751 GB, free: 3.133 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.3879, allocations: 51.5 kB / 0.5751 GB, free: 3.074 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 3.136e-06/0.3879, allocations: 0 / 0.5751 GB, free: 3.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.007439/0.3954, allocations: 3.06 MB / 0.5781 GB, free: 8 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/0.3955, allocations: 86.11 kB / 0.5782 GB, free: 15.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005012/0.396, allocations: 385.5 kB / 0.5785 GB, free: 15.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.929e-05/0.396, allocations: 45.64 kB / 0.5786 GB, free: 15.47 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.3963, allocations: 336.8 kB / 0.5789 GB, free: 15.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/0.3966, allocations: 329.1 kB / 0.5792 GB, free: 14.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002718/0.3969, allocations: 162.6 kB / 0.5794 GB, free: 14.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.397, allocations: 374.8 kB / 0.5797 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007232/0.3978, allocations: 465.7 kB / 0.5802 GB, free: 13.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008079/0.3986, allocations: 0.5704 MB / 0.5807 GB, free: 13.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/0.4002, allocations: 1.114 MB / 0.5818 GB, free: 12.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.4002, allocations: 4 kB / 0.5818 GB, free: 12.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002842/0.4031, allocations: 1.473 MB / 0.5833 GB, free: 10.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.4031, allocations: 4 kB / 0.5833 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.4031, allocations: 4 kB / 0.5833 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.4041, allocations: 336.8 kB / 0.5836 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008029/0.4049, allocations: 187.7 kB / 0.5838 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006065/0.411, allocations: 4.064 MB / 0.5877 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00068/0.4117, allocations: 55.88 kB / 0.5878 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.838e-05/0.4118, allocations: 39.98 kB / 0.5878 GB, free: 5.766 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.0004683/0.4122, allocations: 297.6 kB / 0.5881 GB, free: 5.465 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.4124, allocations: 59.62 kB / 0.5882 GB, free: 5.406 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002949/0.4153, allocations: 1.543 MB / 0.5897 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.4153, allocations: 16 kB / 0.5897 GB, free: 3.832 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.4154, allocations: 4 kB / 0.5897 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.4154, allocations: 7.922 kB / 0.5897 GB, free: 3.82 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.005499/0.4209, allocations: 2.968 MB / 0.5926 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/0.4209, allocations: 4 kB / 0.5926 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006287/0.4215, allocations: 163.8 kB / 0.5928 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008237/0.4223, allocations: 284.8 kB / 0.593 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.936e-05/0.4224, allocations: 31.92 kB / 0.5931 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005488/0.4279, allocations: 3.792 MB / 0.5968 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.4279, allocations: 7.938 kB / 0.5968 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002711/0.4306, allocations: 1.571 MB / 0.5983 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.4308, allocations: 67.55 kB / 0.5984 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-05/0.4309, allocations: 27.98 kB / 0.5984 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004666/0.4313, allocations: 39.91 kB / 0.5984 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.4315, allocations: 92.77 kB / 0.5985 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.648e-05/0.4316, allocations: 32 kB / 0.5986 GB, free: 10.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003198/0.4319, allocations: 271.1 kB / 0.5988 GB, free: 10.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4319, allocations: 0 / 0.5988 GB, free: 10.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009985/0.4329, allocations: 307.9 kB / 0.5991 GB, free: 9.871 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.002874/0.4358, allocations: 2.129 MB / 0.6012 GB, free: 7.668 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002218/0.438, allocations: 1.331 MB / 0.6025 GB, free: 6.328 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.438, allocations: 0 / 0.6025 GB, free: 6.328 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.4393, allocations: 0.7928 MB / 0.6033 GB, free: 5.523 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007155/0.44, allocations: 110.4 kB / 0.6034 GB, free: 5.414 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.4515, allocations: 7.648 MB / 0.6108 GB, free: 13.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008152/0.4523, allocations: 1.083 MB / 0.6119 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004485/0.4527, allocations: 180.7 kB / 0.6121 GB, free: 12.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004239/0.4531, allocations: 271.3 kB / 0.6123 GB, free: 11.96 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4531, allocations: 0 / 0.6123 GB, free: 11.96 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04814/0.5013, allocations: 17.89 MB / 0.6298 GB, free: 10.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.25, allocations: 11.12 kB / 0.6298 GB, free: 10.2 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.25570666999556] Failed to read output from testmodel.py, exit status != 0: 13.425038884975947 13.455859557 13.082100135 Calling exit ...