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.001485/0.001485, allocations: 108.2 kB / 17.05 MB, free: 6.055 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.001432/0.001432, allocations: 193.4 kB / 17.99 MB, free: 5.156 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.482/1.482, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1876/0.1876, allocations: 38.04 MB / 329.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 67.89 kB / 457.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3312, allocations: 58.06 MB / 0.5036 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.007976/0.3392, allocations: 7.41 MB / 0.5108 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005733/0.345, allocations: 4.386 MB / 0.5151 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006515/0.3457, allocations: 15.84 kB / 0.5151 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002724/0.3485, allocations: 1.037 MB / 0.5162 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003304/0.3518, allocations: 1.203 MB / 0.5173 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.3529, allocations: 320.8 kB / 0.5176 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002268/0.3551, allocations: 1.4 MB / 0.519 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.3563, allocations: 0.6575 MB / 0.5196 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.3576, allocations: 0.6183 MB / 0.5202 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009977/0.3586, allocations: 0.6739 MB / 0.5209 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.3587, allocations: 63.88 kB / 0.521 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002658/0.3614, allocations: 1.331 MB / 0.5223 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000636/0.362, allocations: 488.2 kB / 0.5227 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005935/0.3626, allocations: 434.5 kB / 0.5231 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002775/0.3654, allocations: 1.465 MB / 0.5246 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3654, allocations: 3.938 kB / 0.5246 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3654, allocations: 0.7969 kB / 0.5246 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.08e-05/0.3655, allocations: 1.531 kB / 0.5246 GB, free: 10.88 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.002043/0.3675, allocations: 1.148 MB / 0.5257 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3676, allocations: 16.45 kB / 0.5257 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001784/0.3677, allocations: 129.7 kB / 0.5258 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003297/0.3711, allocations: 394.6 kB / 0.5262 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000836/0.3719, allocations: 489.5 kB / 0.5267 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.138e-05/0.372, allocations: 51.41 kB / 0.5267 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.3721, allocations: 79.31 kB / 0.5268 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/0.3742, allocations: 1.18 MB / 0.528 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.3743, allocations: 3.938 kB / 0.528 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.215e-05/0.3744, allocations: 31.33 kB / 0.528 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001142/0.3745, allocations: 69.09 kB / 0.5281 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/0.3767, allocations: 1.241 MB / 0.5293 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006193/0.3829, allocations: 3.5 MB / 0.5327 GB, free: 6.348 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001897/0.3849, allocations: 1.058 MB / 0.5337 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.386, allocations: 0.6595 MB / 0.5344 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.281e-05/0.3861, allocations: 22.36 kB / 0.5344 GB, free: 5.441 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.3861, allocations: 40 kB / 0.5344 GB, free: 5.398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 4.037e-06/0.3861, allocations: 3.938 kB / 0.5344 GB, free: 5.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.007458/0.3936, allocations: 3.109 MB / 0.5375 GB, free: 3.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.065e-05/0.3937, allocations: 91.33 kB / 0.5376 GB, free: 3.637 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005577/0.3943, allocations: 358.9 kB / 0.5379 GB, free: 3.414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-05/0.3944, allocations: 41.14 kB / 0.5379 GB, free: 3.371 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/0.3946, allocations: 327.5 kB / 0.5382 GB, free: 3.078 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003927/0.395, allocations: 328.8 kB / 0.5386 GB, free: 2.793 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003104/0.3954, allocations: 160.6 kB / 0.5387 GB, free: 2.699 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.3956, allocations: 363.3 kB / 0.5391 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007978/0.3964, allocations: 476.8 kB / 0.5395 GB, free: 2.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008889/0.3973, allocations: 0.5702 MB / 0.5401 GB, free: 1.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001775/0.399, allocations: 1.113 MB / 0.5412 GB, free: 1.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3991, allocations: 0 / 0.5412 GB, free: 1.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002961/0.402, allocations: 1.481 MB / 0.5426 GB, free: 360 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.4021, allocations: 8.031 kB / 0.5426 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.4021, allocations: 4 kB / 0.5426 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.4032, allocations: 338.2 kB / 0.5429 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007838/0.404, allocations: 179.7 kB / 0.5431 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006536/0.4105, allocations: 4.192 MB / 0.5472 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007531/0.4113, allocations: 47.94 kB / 0.5473 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/0.4115, allocations: 35.98 kB / 0.5473 GB, free: 11.39 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.0006304/0.4121, allocations: 293.5 kB / 0.5476 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.4123, allocations: 59.62 kB / 0.5476 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003223/0.4155, allocations: 1.571 MB / 0.5492 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.4156, allocations: 8 kB / 0.5492 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.4156, allocations: 8 kB / 0.5492 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.4156, allocations: 7.969 kB / 0.5492 GB, free: 9.426 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.006216/0.4218, allocations: 3.023 MB / 0.5521 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.4219, allocations: 3.984 kB / 0.5521 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000709/0.4226, allocations: 167.8 kB / 0.5523 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008776/0.4235, allocations: 285 kB / 0.5526 GB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-05/0.4236, allocations: 31.92 kB / 0.5526 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006061/0.4297, allocations: 3.915 MB / 0.5564 GB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.4297, allocations: 7.938 kB / 0.5564 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003068/0.4328, allocations: 1.594 MB / 0.558 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003161/0.4331, allocations: 148.6 kB / 0.5581 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.4333, allocations: 31.92 kB / 0.5582 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005286/0.4338, allocations: 43.97 kB / 0.5582 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002743/0.4341, allocations: 80.83 kB / 0.5583 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.882e-05/0.4342, allocations: 39.92 kB / 0.5583 GB, free: 15.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003582/0.4346, allocations: 255.2 kB / 0.5586 GB, free: 15.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4346, allocations: 0 / 0.5586 GB, free: 15.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001235/0.4358, allocations: 308 kB / 0.5589 GB, free: 15.16 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.003237/0.4391, allocations: 2.161 MB / 0.561 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002585/0.4417, allocations: 1.409 MB / 0.5623 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.4417, allocations: 0 / 0.5623 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001672/0.4434, allocations: 0.8482 MB / 0.5632 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.4446, allocations: 102.4 kB / 0.5633 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/0.4572, allocations: 7.552 MB / 0.5706 GB, free: 2.742 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009504/0.4582, allocations: 1.068 MB / 0.5717 GB, free: 1.648 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005193/0.4587, allocations: 192.6 kB / 0.5719 GB, free: 1.461 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004676/0.4592, allocations: 263.3 kB / 0.5721 GB, free: 1.203 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4592, allocations: 0 / 0.5721 GB, free: 1.203 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04991/0.5091, allocations: 16.51 MB / 0.5882 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.61, allocations: 8.469 kB / 0.5882 GB, free: 0.793 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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)