Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLoad.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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(PowerSysPro.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",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.001186/0.001186, allocations: 104 kB / 16.45 MB, free: 6.445 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.001207/0.001207, allocations: 186.4 kB / 17.38 MB, free: 5.688 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.243/1.243, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04128/0.04128, allocations: 8.088 MB / 299.3 MB, free: 6.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 63.88 kB / 413.9 MB, free: 22.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08132/0.08244, allocations: 51.51 MB / 465.5 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLoad): time 0.001973/0.08445, allocations: 0.9906 MB / 466.5 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.08563, allocations: 1.1 MB / 467.6 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.08569, allocations: 0 / 467.6 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.08593, allocations: 59.7 kB / 467.6 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.08608, allocations: 39.7 kB / 467.7 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005803/0.08666, allocations: 350.5 kB / 468 MB, free: 192 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.239e-05/0.08677, allocations: 75.66 kB / 468.1 MB, free: 116 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.08688, allocations: 31.95 kB / 468.1 MB, free: 84 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.036e-05/0.08692, allocations: 39.8 kB / 468.1 MB, free: 44 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.08706, allocations: 43.83 kB / 468.2 MB, free: 0 / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.0871, allocations: 8.047 kB / 468.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.08724, allocations: 75.86 kB / 468.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.08727, allocations: 19.92 kB / 468.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.08732, allocations: 39.8 kB / 468.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.08755, allocations: 147.7 kB / 468.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.08756, allocations: 0 / 468.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.08757, allocations: 0 / 468.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.08758, allocations: 0 / 468.5 MB, free: 15.71 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007195/0.0883, allocations: 422.9 kB / 468.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.08835, allocations: 15.89 kB / 468.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.08839, allocations: 38.73 kB / 468.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.08843, allocations: 8.891 kB / 468.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.08858, allocations: 184.3 kB / 469.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.0886, allocations: 8.312 kB / 469.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.08862, allocations: 8.375 kB / 469.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.08878, allocations: 82.22 kB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.0888, allocations: 3.938 kB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.08881, allocations: 0 / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.08882, allocations: 4 kB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.881e-05/0.08892, allocations: 47.98 kB / 469.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.08938, allocations: 372.5 kB / 469.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.08964, allocations: 70.56 kB / 469.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/0.08969, allocations: 16.98 kB / 469.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.08981, allocations: 93.03 kB / 469.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.08983, allocations: 30.56 kB / 469.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.163e-06/0.08984, allocations: 8 kB / 469.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000481/0.09033, allocations: 191.5 kB / 470 MB, free: 13.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.09037, allocations: 51.41 kB / 470.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.09049, allocations: 125.7 kB / 470.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.09051, allocations: 29.7 kB / 470.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.09058, allocations: 108.1 kB / 470.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.0906, allocations: 15.84 kB / 470.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.09064, allocations: 21.7 kB / 470.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.062e-05/0.09073, allocations: 314.8 kB / 470.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.542e-05/0.09076, allocations: 12 kB / 470.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.098e-05/0.09079, allocations: 11.98 kB / 470.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.013e-05/0.09084, allocations: 28.86 kB / 470.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.09085, allocations: 0 / 470.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001824/0.09104, allocations: 98.8 kB / 470.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.09106, allocations: 4 kB / 470.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.09107, allocations: 0 / 470.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/0.09126, allocations: 24.83 kB / 470.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.077e-05/0.0913, allocations: 8 kB / 470.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009051/0.09221, allocations: 1.379 MB / 472.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.274e-05/0.09226, allocations: 3.984 kB / 472.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.09228, allocations: 8.156 kB / 472.3 MB, free: 11.49 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.02e-05/0.09235, allocations: 113.9 kB / 472.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.09239, allocations: 7.953 kB / 472.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.0926, allocations: 106.4 kB / 472.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.09261, allocations: 0 / 472.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.09262, allocations: 0 / 472.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.09262, allocations: 0 / 472.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.09279, allocations: 197.5 kB / 472.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.0928, allocations: 0 / 472.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.104e-05/0.09283, allocations: 8 kB / 472.7 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/0.09296, allocations: 24.84 kB / 472.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.09298, allocations: 11.86 kB / 472.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000874/0.09386, allocations: 1.375 MB / 474.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.09387, allocations: 0 / 474.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.09409, allocations: 192.4 kB / 474.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.09413, allocations: 81.06 kB / 474.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.09415, allocations: 4 kB / 474.4 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.318e-05/0.09424, allocations: 7.984 kB / 474.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.09427, allocations: 4 kB / 474.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.09428, allocations: 7.938 kB / 474.4 MB, free: 9.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.596e-05/0.09435, allocations: 99.58 kB / 474.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09436, allocations: 0 / 474.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.0946, allocations: 24 kB / 474.5 MB, free: 9 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004582/0.09507, allocations: 0.7288 MB / 475.2 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.09535, allocations: 150.7 kB / 475.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.09536, allocations: 0 / 475.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.09554, allocations: 146.6 kB / 475.5 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.09583, allocations: 15.94 kB / 475.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.09714, allocations: 1.432 MB / 477 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.09736, allocations: 0.6924 MB / 477.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.551e-05/0.09741, allocations: 11.75 kB / 477.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/0.09745, allocations: 19.42 kB / 477.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09745, allocations: 4 kB / 477.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1135/0.211, allocations: 2.49 MB / 480.2 MB, free: 3.223 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.542/8.753, allocations: 0 / 480.2 MB, free: 3.223 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Tests_OneLoad.fmu > PowerSysPro_PowerSysPro.Tests.OneLoad.pipe 2>&1)