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.001261/0.001261, allocations: 108.4 kB / 17.06 MB, free: 5.973 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.00127/0.00127, allocations: 198.8 kB / 18.01 MB, free: 5.051 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.3/1.3, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1751/0.1751, allocations: 38.04 MB / 329.9 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 55.91 kB / 457.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2864, allocations: 58.06 MB / 0.5036 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.006917/0.2934, allocations: 7.678 MB / 0.5111 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00562/0.2991, allocations: 4.734 MB / 0.5157 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004746/0.2996, allocations: 17.66 kB / 0.5157 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002616/0.3022, allocations: 1.087 MB / 0.5168 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002942/0.3052, allocations: 1.27 MB / 0.5181 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.3062, allocations: 364.9 kB / 0.5184 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001928/0.3081, allocations: 1.465 MB / 0.5198 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009436/0.3091, allocations: 0.6741 MB / 0.5205 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.3102, allocations: 0.6466 MB / 0.5211 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008744/0.3111, allocations: 0.7007 MB / 0.5218 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.3112, allocations: 65.41 kB / 0.5219 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002622/0.3138, allocations: 1.437 MB / 0.5233 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005408/0.3143, allocations: 491.1 kB / 0.5237 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005223/0.3149, allocations: 464.7 kB / 0.5242 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002631/0.3175, allocations: 1.54 MB / 0.5257 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3175, allocations: 1.781 kB / 0.5257 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3175, allocations: 0.6562 kB / 0.5257 GB, free: 10.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.031e-05/0.3176, allocations: 0 / 0.5257 GB, free: 10.23 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.002194/0.3198, allocations: 1.192 MB / 0.5269 GB, free: 9.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.3198, allocations: 13.92 kB / 0.5269 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001868/0.32, allocations: 133.8 kB / 0.527 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00375/0.3238, allocations: 411.9 kB / 0.5274 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.325, allocations: 0.5034 MB / 0.5279 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.112e-05/0.3251, allocations: 57.14 kB / 0.5279 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.3252, allocations: 76.39 kB / 0.528 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/0.3274, allocations: 1.228 MB / 0.5292 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/0.3275, allocations: 9.234 kB / 0.5292 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-05/0.3276, allocations: 30.86 kB / 0.5292 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001308/0.3277, allocations: 78.3 kB / 0.5293 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.3297, allocations: 1.32 MB / 0.5306 GB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006019/0.3357, allocations: 3.678 MB / 0.5342 GB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.3375, allocations: 1.091 MB / 0.5353 GB, free: 4.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008187/0.3383, allocations: 0.638 MB / 0.5359 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.873e-05/0.3384, allocations: 23.69 kB / 0.5359 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.3384, allocations: 43.62 kB / 0.5359 GB, free: 4.277 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 2.845e-06/0.3385, allocations: 0 / 0.5359 GB, free: 4.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.006836/0.3453, allocations: 3.163 MB / 0.539 GB, free: 2.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.3454, allocations: 91.27 kB / 0.5391 GB, free: 2.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004364/0.3458, allocations: 386 kB / 0.5395 GB, free: 2.242 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.296e-05/0.3459, allocations: 37.64 kB / 0.5395 GB, free: 2.203 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.3461, allocations: 336.9 kB / 0.5398 GB, free: 1.902 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002833/0.3464, allocations: 338.4 kB / 0.5402 GB, free: 1.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.3466, allocations: 157.4 kB / 0.5403 GB, free: 1.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.3468, allocations: 369.8 kB / 0.5407 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006769/0.3475, allocations: 469 kB / 0.5411 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007927/0.3483, allocations: 0.575 MB / 0.5417 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.3498, allocations: 1.109 MB / 0.5428 GB, free: 15.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.3498, allocations: 1.5 kB / 0.5428 GB, free: 15.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002402/0.3522, allocations: 1.497 MB / 0.5442 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3522, allocations: 4 kB / 0.5442 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.3523, allocations: 4 kB / 0.5442 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008961/0.3532, allocations: 336.8 kB / 0.5446 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006981/0.3539, allocations: 179.8 kB / 0.5447 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00522/0.3591, allocations: 4.186 MB / 0.5488 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005734/0.3597, allocations: 47.94 kB / 0.5489 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.869e-05/0.3598, allocations: 39.92 kB / 0.5489 GB, free: 9.695 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.0004238/0.3602, allocations: 297.6 kB / 0.5492 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.3604, allocations: 63.69 kB / 0.5492 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.3629, allocations: 1.547 MB / 0.5508 GB, free: 7.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.3629, allocations: 12 kB / 0.5508 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3629, allocations: 4 kB / 0.5508 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.3629, allocations: 7.984 kB / 0.5508 GB, free: 7.746 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.004868/0.3678, allocations: 3.015 MB / 0.5537 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.3678, allocations: 4.438 kB / 0.5537 GB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006336/0.3685, allocations: 171.8 kB / 0.5539 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000782/0.3693, allocations: 276.6 kB / 0.5542 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.266e-05/0.3693, allocations: 31.98 kB / 0.5542 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004709/0.3741, allocations: 3.894 MB / 0.558 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/0.3741, allocations: 11.88 kB / 0.558 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.3764, allocations: 1.579 MB / 0.5595 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.3766, allocations: 144.7 kB / 0.5597 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.3767, allocations: 31.98 kB / 0.5597 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000458/0.3772, allocations: 39.97 kB / 0.5597 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.3774, allocations: 84.77 kB / 0.5598 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.97e-05/0.3774, allocations: 35.98 kB / 0.5599 GB, free: 14.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002718/0.3777, allocations: 267.2 kB / 0.5601 GB, free: 13.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3777, allocations: 0 / 0.5601 GB, free: 13.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001007/0.3787, allocations: 308 kB / 0.5604 GB, free: 13.52 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.002542/0.3813, allocations: 2.145 MB / 0.5625 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002125/0.3834, allocations: 1.409 MB / 0.5639 GB, free: 9.875 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3834, allocations: 0 / 0.5639 GB, free: 9.875 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.3846, allocations: 0.8403 MB / 0.5647 GB, free: 9.023 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008039/0.3855, allocations: 110.5 kB / 0.5648 GB, free: 8.918 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.3958, allocations: 7.651 MB / 0.5723 GB, free: 1.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006742/0.3965, allocations: 1.079 MB / 0.5733 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004419/0.3969, allocations: 184.7 kB / 0.5735 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003834/0.3973, allocations: 267.3 kB / 0.5738 GB, free: 15.47 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3973, allocations: 4 kB / 0.5738 GB, free: 15.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03782/0.4352, allocations: 16.71 MB / 0.5901 GB, free: 14.86 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.8, allocations: 10.28 kB / 0.5901 GB, free: 14.85 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)