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.001375/0.001375, allocations: 113.6 kB / 17.06 MB, free: 6.012 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.001335/0.001335, allocations: 189.4 kB / 18 MB, free: 5.098 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.46/1.46, 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.194/0.194, allocations: 38.03 MB / 329.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 67.89 kB / 457.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3292, allocations: 58.05 MB / 0.5036 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.007525/0.3368, allocations: 7.684 MB / 0.5111 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006612/0.3435, allocations: 4.734 MB / 0.5157 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006766/0.3442, allocations: 17.81 kB / 0.5158 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002991/0.3472, allocations: 1.075 MB / 0.5168 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004135/0.3514, allocations: 1.268 MB / 0.518 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.3528, allocations: 367 kB / 0.5184 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002874/0.3557, allocations: 1.464 MB / 0.5198 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.357, allocations: 0.6659 MB / 0.5205 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001611/0.3587, allocations: 0.6316 MB / 0.5211 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.3601, allocations: 0.7073 MB / 0.5218 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002192/0.3604, allocations: 69.38 kB / 0.5218 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003663/0.364, allocations: 1.429 MB / 0.5232 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008098/0.3649, allocations: 499.5 kB / 0.5237 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008164/0.3657, allocations: 461.4 kB / 0.5242 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004261/0.37, allocations: 1.543 MB / 0.5257 GB, free: 10.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.37, allocations: 1.031 kB / 0.5257 GB, free: 10.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.37, allocations: 0 / 0.5257 GB, free: 10.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.143e-05/0.3701, allocations: 0 / 0.5257 GB, free: 10.28 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.002882/0.373, allocations: 1.19 MB / 0.5268 GB, free: 9.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.3731, allocations: 16.48 kB / 0.5268 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002277/0.3733, allocations: 134.8 kB / 0.527 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003762/0.3771, allocations: 419 kB / 0.5274 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.3783, allocations: 0.5054 MB / 0.5279 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/0.3784, allocations: 55.11 kB / 0.5279 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.3786, allocations: 73.91 kB / 0.528 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002554/0.3811, allocations: 1.231 MB / 0.5292 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.929e-05/0.3812, allocations: 9.234 kB / 0.5292 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.3813, allocations: 31.78 kB / 0.5292 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001306/0.3815, allocations: 78.48 kB / 0.5293 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.384, allocations: 1.309 MB / 0.5306 GB, free: 7.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00818/0.3922, allocations: 3.678 MB / 0.5342 GB, free: 5.242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/0.3944, allocations: 1.088 MB / 0.5352 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.3957, allocations: 0.6425 MB / 0.5359 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.935e-05/0.3958, allocations: 14.02 kB / 0.5359 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.458e-05/0.3959, allocations: 52.06 kB / 0.5359 GB, free: 4.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 3.817e-06/0.3959, allocations: 0 / 0.5359 GB, free: 4.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.008634/0.4045, allocations: 3.168 MB / 0.539 GB, free: 2.598 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.054e-05/0.4047, allocations: 91.67 kB / 0.5391 GB, free: 2.496 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005822/0.4052, allocations: 381.9 kB / 0.5395 GB, free: 2.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001703/0.4054, allocations: 41.83 kB / 0.5395 GB, free: 2.215 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.4057, allocations: 324.7 kB / 0.5398 GB, free: 1.926 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004711/0.4062, allocations: 342.3 kB / 0.5401 GB, free: 1.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003962/0.4066, allocations: 156.8 kB / 0.5403 GB, free: 1.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000229/0.4068, allocations: 367.3 kB / 0.5406 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008533/0.4077, allocations: 469.7 kB / 0.5411 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.4087, allocations: 0.5702 MB / 0.5417 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/0.4108, allocations: 1.123 MB / 0.5427 GB, free: 0 / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.4108, allocations: 1.281 kB / 0.5427 GB, free: 0 / 398.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003383/0.4142, allocations: 1.482 MB / 0.5442 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.4143, allocations: 11.94 kB / 0.5442 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.4143, allocations: 0 / 0.5442 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.4155, allocations: 336.8 kB / 0.5445 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009854/0.4166, allocations: 183.7 kB / 0.5447 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007042/0.4236, allocations: 4.177 MB / 0.5488 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009277/0.4246, allocations: 47.95 kB / 0.5488 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002273/0.4249, allocations: 47.91 kB / 0.5489 GB, free: 9.738 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.0008107/0.4257, allocations: 301.6 kB / 0.5492 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/0.4259, allocations: 59.62 kB / 0.5492 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00324/0.4292, allocations: 1.551 MB / 0.5507 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.4292, allocations: 8 kB / 0.5507 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/0.4293, allocations: 16 kB / 0.5508 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/0.4293, allocations: 11.91 kB / 0.5508 GB, free: 7.773 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.006994/0.4363, allocations: 3.008 MB / 0.5537 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.4363, allocations: 4 kB / 0.5537 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007217/0.4371, allocations: 167.8 kB / 0.5539 GB, free: 4.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009464/0.438, allocations: 280.7 kB / 0.5541 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001555/0.4382, allocations: 27.98 kB / 0.5542 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006076/0.4443, allocations: 3.903 MB / 0.558 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-06/0.4443, allocations: 4 kB / 0.558 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003168/0.4475, allocations: 1.579 MB / 0.5595 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003118/0.4479, allocations: 144.7 kB / 0.5597 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/0.448, allocations: 20 kB / 0.5597 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005505/0.4486, allocations: 47.95 kB / 0.5597 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/0.4488, allocations: 80.78 kB / 0.5598 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.728e-05/0.4489, allocations: 35.98 kB / 0.5598 GB, free: 14.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003676/0.4493, allocations: 267.1 kB / 0.5601 GB, free: 13.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4493, allocations: 0 / 0.5601 GB, free: 13.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00127/0.4506, allocations: 308 kB / 0.5604 GB, free: 13.56 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.003195/0.4538, allocations: 2.153 MB / 0.5625 GB, free: 11.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002623/0.4564, allocations: 1.39 MB / 0.5638 GB, free: 9.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.4564, allocations: 8 kB / 0.5639 GB, free: 9.922 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001519/0.458, allocations: 0.8441 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.0009439/0.4589, allocations: 114.3 kB / 0.5648 GB, free: 8.961 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/0.4727, allocations: 7.655 MB / 0.5723 GB, free: 1.059 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.4738, allocations: 1.087 MB / 0.5733 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005605/0.4744, allocations: 184.7 kB / 0.5735 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005225/0.4749, allocations: 271.3 kB / 0.5738 GB, free: 15.5 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4749, allocations: 0 / 0.5738 GB, free: 15.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05282/0.5277, allocations: 16.69 MB / 0.5901 GB, free: 14.91 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.55, allocations: 16.03 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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened_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_NetworkOpened.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)