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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 107.7 kB / 17.06 MB, free: 5.996 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.001723/0.001723, allocations: 197.3 kB / 18.01 MB, free: 5.066 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.391/1.391, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1823/0.1823, allocations: 38.03 MB / 329.9 MB, free: 8.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 63.91 kB / 457.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2893, allocations: 58.06 MB / 0.5036 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.007163/0.2965, allocations: 7.687 MB / 0.5111 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006446/0.303, allocations: 4.731 MB / 0.5157 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005671/0.3036, allocations: 18.44 kB / 0.5158 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002883/0.3065, allocations: 1.088 MB / 0.5168 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003398/0.31, allocations: 1.263 MB / 0.5181 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.3112, allocations: 355.7 kB / 0.5184 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002251/0.3134, allocations: 1.472 MB / 0.5198 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.3145, allocations: 0.6617 MB / 0.5205 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.3156, allocations: 0.6372 MB / 0.5211 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009647/0.3166, allocations: 0.7026 MB / 0.5218 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.3167, allocations: 66.09 kB / 0.5218 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0029/0.3196, allocations: 1.436 MB / 0.5233 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006406/0.3203, allocations: 494.5 kB / 0.5237 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005946/0.3209, allocations: 461.4 kB / 0.5242 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002697/0.3236, allocations: 1.54 MB / 0.5257 GB, free: 10.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3236, allocations: 1.531 kB / 0.5257 GB, free: 10.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3236, allocations: 0 / 0.5257 GB, free: 10.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.3236, allocations: 0 / 0.5257 GB, free: 10.35 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00211/0.3258, allocations: 1.192 MB / 0.5268 GB, free: 9.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3258, allocations: 10.28 kB / 0.5268 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001746/0.326, allocations: 134.7 kB / 0.527 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003371/0.3294, allocations: 410 kB / 0.5274 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008399/0.3302, allocations: 0.5093 MB / 0.5279 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.842e-05/0.3303, allocations: 55.55 kB / 0.5279 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.3304, allocations: 69.48 kB / 0.528 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/0.3325, allocations: 1.23 MB / 0.5292 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.3325, allocations: 10.97 kB / 0.5292 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-05/0.3326, allocations: 33.98 kB / 0.5292 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/0.3327, allocations: 74.73 kB / 0.5293 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.3347, allocations: 1.311 MB / 0.5306 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005739/0.3405, allocations: 3.683 MB / 0.5342 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.3423, allocations: 1.082 MB / 0.5352 GB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009237/0.3433, allocations: 0.6471 MB / 0.5359 GB, free: 4.438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-05/0.3433, allocations: 26.44 kB / 0.5359 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.3434, allocations: 47.94 kB / 0.5359 GB, free: 4.371 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 2.795e-06/0.3434, allocations: 0 / 0.5359 GB, free: 4.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.007185/0.3506, allocations: 3.16 MB / 0.539 GB, free: 2.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.772e-05/0.3507, allocations: 92.08 kB / 0.5391 GB, free: 2.578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004504/0.3512, allocations: 381.5 kB / 0.5395 GB, free: 2.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.6e-05/0.3512, allocations: 40.7 kB / 0.5395 GB, free: 2.297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.3515, allocations: 337.9 kB / 0.5398 GB, free: 1.996 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003293/0.3518, allocations: 329.5 kB / 0.5401 GB, free: 1.711 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002661/0.3521, allocations: 158.1 kB / 0.5403 GB, free: 1.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.3523, allocations: 369.9 kB / 0.5406 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006761/0.353, allocations: 465.3 kB / 0.5411 GB, free: 1.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000806/0.3538, allocations: 0.5791 MB / 0.5417 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.3554, allocations: 1.116 MB / 0.5427 GB, free: 84 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3555, allocations: 4 kB / 0.5427 GB, free: 80 kB / 398.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002641/0.3581, allocations: 1.486 MB / 0.5442 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.3581, allocations: 8 kB / 0.5442 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.3582, allocations: 0 / 0.5442 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009714/0.3591, allocations: 332.8 kB / 0.5445 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007209/0.3599, allocations: 183.7 kB / 0.5447 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005791/0.3657, allocations: 4.182 MB / 0.5488 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006628/0.3664, allocations: 51.94 kB / 0.5488 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.668e-05/0.3664, allocations: 43.92 kB / 0.5489 GB, free: 9.73 MB / 414.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.0005877/0.367, allocations: 297.6 kB / 0.5492 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.3672, allocations: 63.61 kB / 0.5492 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/0.37, allocations: 1.551 MB / 0.5507 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.3701, allocations: 8 kB / 0.5507 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.3701, allocations: 8 kB / 0.5508 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.3701, allocations: 7.984 kB / 0.5508 GB, free: 7.777 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.005144/0.3753, allocations: 3.008 MB / 0.5537 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.3753, allocations: 8.094 kB / 0.5537 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006391/0.3759, allocations: 163.8 kB / 0.5539 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008379/0.3768, allocations: 280.5 kB / 0.5541 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.592e-05/0.3769, allocations: 31.98 kB / 0.5542 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005371/0.3822, allocations: 3.906 MB / 0.558 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.3823, allocations: 4 kB / 0.558 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/0.3849, allocations: 1.579 MB / 0.5595 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/0.3852, allocations: 144.7 kB / 0.5597 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.547e-05/0.3853, allocations: 23.94 kB / 0.5597 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004495/0.3857, allocations: 47.95 kB / 0.5597 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.3859, allocations: 84.77 kB / 0.5598 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.392e-05/0.386, allocations: 39.92 kB / 0.5598 GB, free: 14.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003185/0.3863, allocations: 263.2 kB / 0.5601 GB, free: 13.85 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3863, allocations: 0 / 0.5601 GB, free: 13.85 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001028/0.3874, allocations: 308 kB / 0.5604 GB, free: 13.55 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.002874/0.3902, allocations: 2.149 MB / 0.5625 GB, free: 11.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002324/0.3926, allocations: 1.398 MB / 0.5639 GB, free: 9.918 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3926, allocations: 0.625 kB / 0.5639 GB, free: 9.918 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.3939, allocations: 0.8402 MB / 0.5647 GB, free: 9.066 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007282/0.3947, allocations: 118 kB / 0.5648 GB, free: 8.957 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.4063, allocations: 7.662 MB / 0.5723 GB, free: 1.047 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008727/0.4072, allocations: 1.076 MB / 0.5733 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004641/0.4077, allocations: 188.7 kB / 0.5735 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004196/0.4081, allocations: 267.3 kB / 0.5738 GB, free: 15.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4081, allocations: 0 / 0.5738 GB, free: 15.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06894/0.4771, allocations: 16.7 MB / 0.5901 GB, free: 14.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.3, allocations: 17.59 kB / 0.5901 GB, free: 14.89 MB / 462.1 MB (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 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)