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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001247, allocations: 112.8 kB / 17.06 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001257, allocations: 200 kB / 18.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1856/0.1856, allocations: 38.03 MB / 329.9 MB, free: 8.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 63.91 kB / 457.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3225, allocations: 58.05 MB / 0.5036 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.0064/0.3289, allocations: 7.412 MB / 0.5109 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0053/0.3342, allocations: 4.391 MB / 0.5151 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005425/0.3348, allocations: 17.22 kB / 0.5152 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002776/0.3376, allocations: 1.029 MB / 0.5162 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003158/0.3408, allocations: 1.199 MB / 0.5173 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009793/0.3418, allocations: 317.1 kB / 0.5176 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001938/0.3437, allocations: 1.405 MB / 0.519 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.3449, allocations: 0.6577 MB / 0.5197 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.346, allocations: 0.6123 MB / 0.5202 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009535/0.347, allocations: 0.6774 MB / 0.5209 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.3471, allocations: 64.19 kB / 0.521 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.3496, allocations: 1.332 MB / 0.5223 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006098/0.3503, allocations: 486.8 kB / 0.5227 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005629/0.3508, allocations: 438.6 kB / 0.5232 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002847/0.3537, allocations: 1.461 MB / 0.5246 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3537, allocations: 0 / 0.5246 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3537, allocations: 0 / 0.5246 GB, free: 10.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.114e-05/0.3538, allocations: 0 / 0.5246 GB, free: 10.92 MB / 398.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.002529/0.3563, allocations: 1.153 MB / 0.5257 GB, free: 10.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.3564, allocations: 21.33 kB / 0.5257 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001859/0.3566, allocations: 129.6 kB / 0.5259 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003322/0.3599, allocations: 394.9 kB / 0.5262 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.361, allocations: 484.6 kB / 0.5267 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.054e-05/0.3611, allocations: 55.69 kB / 0.5267 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.3613, allocations: 75.22 kB / 0.5268 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/0.3635, allocations: 1.179 MB / 0.528 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/0.3636, allocations: 5.125 kB / 0.528 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.3637, allocations: 34.97 kB / 0.528 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/0.3638, allocations: 68.73 kB / 0.5281 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.3659, allocations: 1.241 MB / 0.5293 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005955/0.3718, allocations: 3.5 MB / 0.5327 GB, free: 6.375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.3738, allocations: 1.062 MB / 0.5337 GB, free: 5.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.3749, allocations: 0.6594 MB / 0.5344 GB, free: 5.477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-05/0.375, allocations: 15.08 kB / 0.5344 GB, free: 5.473 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/0.3751, allocations: 43.88 kB / 0.5344 GB, free: 5.426 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 3.196e-06/0.3751, allocations: 0 / 0.5344 GB, free: 5.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.007181/0.3823, allocations: 3.113 MB / 0.5375 GB, free: 3.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/0.3824, allocations: 91.39 kB / 0.5376 GB, free: 3.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/0.3829, allocations: 362.6 kB / 0.5379 GB, free: 3.438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.162e-05/0.383, allocations: 41.02 kB / 0.5379 GB, free: 3.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.3832, allocations: 322.8 kB / 0.5383 GB, free: 3.105 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003641/0.3836, allocations: 326.4 kB / 0.5386 GB, free: 2.824 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.3839, allocations: 159.2 kB / 0.5387 GB, free: 2.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.3841, allocations: 370.6 kB / 0.5391 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007106/0.3848, allocations: 469.3 kB / 0.5395 GB, free: 2.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007778/0.3856, allocations: 0.5744 MB / 0.5401 GB, free: 1.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.3872, allocations: 1.104 MB / 0.5412 GB, free: 1.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3872, allocations: 1.594 kB / 0.5412 GB, free: 1.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002601/0.3898, allocations: 1.487 MB / 0.5426 GB, free: 316 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.3898, allocations: 8 kB / 0.5426 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.3899, allocations: 0 / 0.5426 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009992/0.3909, allocations: 334.5 kB / 0.5429 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000768/0.3916, allocations: 179.7 kB / 0.5431 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005877/0.3975, allocations: 4.192 MB / 0.5472 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006535/0.3982, allocations: 51.88 kB / 0.5473 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.174e-05/0.3983, allocations: 35.98 kB / 0.5473 GB, free: 11.35 MB / 414.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.0005053/0.3988, allocations: 293.5 kB / 0.5476 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.399, allocations: 59.62 kB / 0.5476 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002867/0.4018, allocations: 1.575 MB / 0.5492 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.4019, allocations: 12 kB / 0.5492 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.4019, allocations: 4 kB / 0.5492 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.4019, allocations: 3.984 kB / 0.5492 GB, free: 9.383 MB / 414.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.005185/0.4071, allocations: 3.023 MB / 0.5521 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.4071, allocations: 4 kB / 0.5521 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006562/0.4078, allocations: 167.8 kB / 0.5523 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008013/0.4086, allocations: 281 kB / 0.5526 GB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.916e-05/0.4087, allocations: 27.98 kB / 0.5526 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00523/0.4139, allocations: 3.917 MB / 0.5564 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/0.4139, allocations: 8 kB / 0.5564 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.4165, allocations: 1.598 MB / 0.558 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.4168, allocations: 160.6 kB / 0.5581 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.4169, allocations: 27.92 kB / 0.5582 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/0.4173, allocations: 39.97 kB / 0.5582 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.4175, allocations: 76.83 kB / 0.5583 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.98e-05/0.4176, allocations: 43.92 kB / 0.5583 GB, free: 15.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003043/0.4179, allocations: 255.2 kB / 0.5586 GB, free: 15.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4179, allocations: 4 kB / 0.5586 GB, free: 15.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001052/0.419, allocations: 308 kB / 0.5589 GB, free: 15.11 MB / 430.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.002902/0.4219, allocations: 2.153 MB / 0.561 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002369/0.4243, allocations: 1.417 MB / 0.5623 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.4243, allocations: 0 / 0.5623 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.4256, allocations: 0.8443 MB / 0.5632 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007794/0.4264, allocations: 102.4 kB / 0.5633 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.438, allocations: 7.56 MB / 0.5707 GB, free: 2.695 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008548/0.4389, allocations: 1.072 MB / 0.5717 GB, free: 1.598 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004962/0.4394, allocations: 184.6 kB / 0.5719 GB, free: 1.418 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004277/0.4398, allocations: 255.3 kB / 0.5721 GB, free: 1.168 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4398, allocations: 0 / 0.5721 GB, free: 1.168 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04765/0.4875, allocations: 16.52 MB / 0.5882 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.39, allocations: 4.469 kB / 0.5883 GB, free: 0.75 MB / 446.1 MB (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 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)