Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",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.001468/0.001468, allocations: 109.8 kB / 17.06 MB, free: 5.977 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.001572/0.001573, allocations: 197.3 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.413/1.413, 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.1854/0.1854, allocations: 38.02 MB / 329.9 MB, free: 8.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.89 kB / 457.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3302, allocations: 58.06 MB / 0.5036 GB, free: 7.449 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004481/0.3347, allocations: 3.949 MB / 0.5075 GB, free: 4.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.3368, allocations: 1.82 MB / 0.5092 GB, free: 3.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.337, allocations: 9.531 kB / 0.5093 GB, free: 3.418 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009287/0.3379, allocations: 359.4 kB / 0.5096 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007918/0.3387, allocations: 407.9 kB / 0.51 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.3391, allocations: 141 kB / 0.5101 GB, free: 2.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005218/0.3396, allocations: 496.4 kB / 0.5106 GB, free: 2.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003287/0.34, allocations: 208.5 kB / 0.5108 GB, free: 2.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002797/0.3403, allocations: 222.8 kB / 0.511 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.3406, allocations: 222.3 kB / 0.5112 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.3406, allocations: 20.66 kB / 0.5112 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007013/0.3413, allocations: 442.2 kB / 0.5117 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.3415, allocations: 157.1 kB / 0.5118 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.3416, allocations: 155.3 kB / 0.512 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006696/0.3423, allocations: 0.493 MB / 0.5124 GB, free: 1.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3423, allocations: 5.094 kB / 0.5124 GB, free: 1.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3423, allocations: 0 / 0.5124 GB, free: 1.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.3424, allocations: 0 / 0.5124 GB, free: 1.965 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007533/0.3431, allocations: 0.6128 MB / 0.513 GB, free: 1.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3432, allocations: 12.8 kB / 0.5131 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.177e-05/0.3432, allocations: 68.83 kB / 0.5131 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.3444, allocations: 131.6 kB / 0.5132 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.3448, allocations: 299.5 kB / 0.5135 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.3448, allocations: 23.61 kB / 0.5135 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-05/0.3449, allocations: 22.8 kB / 0.5136 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006483/0.3455, allocations: 444 kB / 0.514 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.3456, allocations: 0.5625 kB / 0.514 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.3456, allocations: 10.72 kB / 0.514 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.982e-05/0.3456, allocations: 26.39 kB / 0.514 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006113/0.3463, allocations: 430 kB / 0.5144 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/0.3484, allocations: 1.712 MB / 0.5161 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005151/0.3489, allocations: 284.7 kB / 0.5164 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.3492, allocations: 146 kB / 0.5165 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.172e-05/0.3493, allocations: 7.359 kB / 0.5165 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/0.3493, allocations: 34.11 kB / 0.5166 GB, free: 15.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 5.09e-06/0.3493, allocations: 0 / 0.5166 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.00227/0.3516, allocations: 0.7975 MB / 0.5173 GB, free: 14.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/0.3517, allocations: 83.55 kB / 0.5174 GB, free: 14.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.352, allocations: 209.2 kB / 0.5176 GB, free: 14.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.352, allocations: 30.83 kB / 0.5177 GB, free: 14.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.3522, allocations: 183.8 kB / 0.5178 GB, free: 14.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.471e-05/0.3523, allocations: 80.09 kB / 0.5179 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.3524, allocations: 65.83 kB / 0.518 GB, free: 14.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.3526, allocations: 331 kB / 0.5183 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.3528, allocations: 107.7 kB / 0.5184 GB, free: 13.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.3531, allocations: 208.7 kB / 0.5186 GB, free: 13.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/0.3536, allocations: 339.7 kB / 0.5189 GB, free: 13.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3536, allocations: 1.219 kB / 0.5189 GB, free: 13.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008341/0.3545, allocations: 437.3 kB / 0.5193 GB, free: 13.31 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3545, allocations: 7.297 kB / 0.5193 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3545, allocations: 3.375 kB / 0.5193 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003883/0.3549, allocations: 82.12 kB / 0.5194 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.3552, allocations: 63.62 kB / 0.5195 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002594/0.3578, allocations: 1.997 MB / 0.5214 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.358, allocations: 14.56 kB / 0.5214 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.3581, allocations: 26.16 kB / 0.5215 GB, free: 11.54 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003032/0.3584, allocations: 180.1 kB / 0.5216 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.946e-05/0.3585, allocations: 24.2 kB / 0.5217 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008211/0.3593, allocations: 381.5 kB / 0.522 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3593, allocations: 3.281 kB / 0.522 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3593, allocations: 1.156 kB / 0.522 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3593, allocations: 2.719 kB / 0.522 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.361, allocations: 0.9097 MB / 0.5229 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.361, allocations: 5.281 kB / 0.5229 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.3612, allocations: 42.22 kB / 0.523 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002707/0.3615, allocations: 73.34 kB / 0.523 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.3615, allocations: 10.75 kB / 0.523 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/0.3636, allocations: 1.9 MB / 0.5249 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3636, allocations: 1.891 kB / 0.5249 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007622/0.3644, allocations: 468.5 kB / 0.5253 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.3645, allocations: 93.91 kB / 0.5254 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.3645, allocations: 11.45 kB / 0.5254 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.3647, allocations: 10.59 kB / 0.5255 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/0.3648, allocations: 24.86 kB / 0.5255 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.3648, allocations: 8.969 kB / 0.5255 GB, free: 8.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.365, allocations: 145.2 kB / 0.5256 GB, free: 8.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.365, allocations: 0 / 0.5256 GB, free: 8.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006071/0.3656, allocations: 88.19 kB / 0.5257 GB, free: 8.398 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001176/0.3668, allocations: 1.002 MB / 0.5267 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000893/0.3677, allocations: 431.2 kB / 0.5271 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.3677, allocations: 1.156 kB / 0.5271 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004743/0.3682, allocations: 284.8 kB / 0.5274 GB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.3686, allocations: 34.36 kB / 0.5274 GB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004411/0.373, allocations: 3.024 MB / 0.5304 GB, free: 5.121 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/0.3736, allocations: 0.8018 MB / 0.5311 GB, free: 4.406 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.3738, allocations: 63.3 kB / 0.5312 GB, free: 4.383 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.374, allocations: 86.14 kB / 0.5313 GB, free: 4.32 MB / 398.1 MB Notification: Performance of SimCode: time 8.41e-07/0.374, allocations: 0 / 0.5313 GB, free: 4.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03285/0.4069, allocations: 5.686 MB / 0.5368 GB, free: 2.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.71, allocations: 8.969 kB / 0.5368 GB, free: 2.227 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest_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_Test_InductiveLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)