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.001573/0.001573, allocations: 112 kB / 17.06 MB, free: 5.984 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.001823/0.001823, allocations: 194.9 kB / 18 MB, free: 5.074 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.382/1.382, 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.1856/0.1856, allocations: 38.04 MB / 329.9 MB, free: 8.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001402, allocations: 59.91 kB / 457.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2939, allocations: 58.06 MB / 0.5036 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004167/0.2981, allocations: 3.949 MB / 0.5075 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.3002, allocations: 1.821 MB / 0.5092 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.3003, allocations: 13.38 kB / 0.5093 GB, free: 3.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009638/0.3013, allocations: 359.4 kB / 0.5096 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008631/0.3022, allocations: 401.5 kB / 0.51 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.3026, allocations: 149.8 kB / 0.5101 GB, free: 3.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005196/0.3031, allocations: 496.9 kB / 0.5106 GB, free: 2.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003435/0.3035, allocations: 199.9 kB / 0.5108 GB, free: 2.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002834/0.3038, allocations: 226.4 kB / 0.511 GB, free: 2.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.3041, allocations: 226.1 kB / 0.5112 GB, free: 2.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.3041, allocations: 21.03 kB / 0.5112 GB, free: 2.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006516/0.3048, allocations: 451.2 kB / 0.5117 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.305, allocations: 156.8 kB / 0.5118 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.3051, allocations: 151.8 kB / 0.512 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007299/0.3058, allocations: 0.4964 MB / 0.5124 GB, free: 2.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3059, allocations: 5.219 kB / 0.5124 GB, free: 2.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3059, allocations: 0 / 0.5124 GB, free: 2.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.3059, allocations: 0 / 0.5124 GB, free: 2.059 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.0007708/0.3067, allocations: 0.6008 MB / 0.513 GB, free: 1.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3067, allocations: 16.91 kB / 0.5131 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.58e-05/0.3068, allocations: 64.45 kB / 0.5131 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.308, allocations: 140 kB / 0.5132 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.3084, allocations: 295.6 kB / 0.5135 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.3084, allocations: 19.08 kB / 0.5135 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.289e-05/0.3085, allocations: 25.44 kB / 0.5136 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/0.3091, allocations: 444 kB / 0.514 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.3092, allocations: 1.031 kB / 0.514 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.449e-05/0.3092, allocations: 16.19 kB / 0.514 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.161e-05/0.3093, allocations: 24.72 kB / 0.514 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006199/0.3099, allocations: 430.7 kB / 0.5144 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.312, allocations: 1.716 MB / 0.5161 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.3125, allocations: 285 kB / 0.5164 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.3127, allocations: 138.2 kB / 0.5165 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.3128, allocations: 7.75 kB / 0.5165 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.3128, allocations: 42.03 kB / 0.5166 GB, free: 15.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.3128, allocations: 0 / 0.5166 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001972/0.3148, allocations: 0.7921 MB / 0.5173 GB, free: 14.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.3149, allocations: 80.25 kB / 0.5174 GB, free: 14.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.3151, allocations: 212.4 kB / 0.5176 GB, free: 14.63 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.3151, allocations: 31.14 kB / 0.5177 GB, free: 14.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.3152, allocations: 185 kB / 0.5178 GB, free: 14.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.897e-05/0.3153, allocations: 88.19 kB / 0.5179 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.024e-05/0.3154, allocations: 60.97 kB / 0.518 GB, free: 14.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.3156, allocations: 335.1 kB / 0.5183 GB, free: 14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.3157, allocations: 104.4 kB / 0.5184 GB, free: 13.97 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.316, allocations: 211.8 kB / 0.5186 GB, free: 13.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.3164, allocations: 337.2 kB / 0.5189 GB, free: 13.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3164, allocations: 1.344 kB / 0.5189 GB, free: 13.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008013/0.3172, allocations: 435.5 kB / 0.5193 GB, free: 13.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3173, allocations: 6.5 kB / 0.5193 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.3173, allocations: 7.234 kB / 0.5193 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003686/0.3177, allocations: 89.06 kB / 0.5194 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.3179, allocations: 52.58 kB / 0.5195 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.32, allocations: 2.003 MB / 0.5214 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.3202, allocations: 16.42 kB / 0.5215 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.3202, allocations: 15.11 kB / 0.5215 GB, free: 11.63 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.0002019/0.3204, allocations: 174.6 kB / 0.5216 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.3205, allocations: 19.23 kB / 0.5217 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007345/0.3212, allocations: 388.3 kB / 0.522 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3212, allocations: 3.344 kB / 0.522 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3212, allocations: 2.281 kB / 0.522 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3212, allocations: 3.938 kB / 0.522 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.3228, allocations: 0.92 MB / 0.5229 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3228, allocations: 4.641 kB / 0.5229 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.323, allocations: 34.97 kB / 0.523 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000264/0.3233, allocations: 67.97 kB / 0.523 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.3233, allocations: 11.98 kB / 0.523 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.3252, allocations: 1.91 MB / 0.5249 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.3252, allocations: 5.969 kB / 0.5249 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000688/0.3259, allocations: 464.7 kB / 0.5254 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/0.326, allocations: 93.97 kB / 0.5254 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.326, allocations: 7.203 kB / 0.5255 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.3262, allocations: 10.3 kB / 0.5255 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.3263, allocations: 23.28 kB / 0.5255 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.3263, allocations: 11.38 kB / 0.5255 GB, free: 8.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.3264, allocations: 149.6 kB / 0.5256 GB, free: 8.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3264, allocations: 0 / 0.5256 GB, free: 8.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005228/0.327, allocations: 82.56 kB / 0.5257 GB, free: 8.492 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.001011/0.328, allocations: 0.9978 MB / 0.5267 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008853/0.3289, allocations: 436.4 kB / 0.5271 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3289, allocations: 0 / 0.5271 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005077/0.3294, allocations: 285.9 kB / 0.5274 GB, free: 7.293 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.3298, allocations: 49.88 kB / 0.5274 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004206/0.3341, allocations: 3.021 MB / 0.5304 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.3345, allocations: 0.8019 MB / 0.5312 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001527/0.3347, allocations: 50.83 kB / 0.5312 GB, free: 4.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.3348, allocations: 86.69 kB / 0.5313 GB, free: 4.418 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3348, allocations: 4 kB / 0.5313 GB, free: 4.414 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02858/0.3634, allocations: 5.681 MB / 0.5368 GB, free: 2.207 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.646/10.01, allocations: 12.42 kB / 0.5369 GB, free: 2.203 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)