Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneBank.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.OneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneBank",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.001217/0.001216, allocations: 102.1 kB / 16.31 MB, free: 6.359 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.001186/0.001186, allocations: 186.6 kB / 17.24 MB, free: 5.879 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.526/1.526, allocations: 222.9 MB / 240.9 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05812/0.05812, allocations: 8.1 MB / 299.2 MB, free: 6.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 59.91 kB / 361.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2588, allocations: 51.51 MB / 413.3 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneBank): time 0.003042/0.2619, allocations: 0.9675 MB / 414.3 MB, free: 24.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.2634, allocations: 1.119 MB / 415.4 MB, free: 23.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.158e-05/0.2635, allocations: 0 / 415.4 MB, free: 23.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.2638, allocations: 75.67 kB / 415.5 MB, free: 23.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.2641, allocations: 35.78 kB / 415.5 MB, free: 23.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006364/0.2647, allocations: 310.6 kB / 415.8 MB, free: 23.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.2648, allocations: 55.8 kB / 415.9 MB, free: 23.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.265, allocations: 36.14 kB / 415.9 MB, free: 22.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.884e-05/0.265, allocations: 27.81 kB / 416 MB, free: 22.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.204e-05/0.2651, allocations: 39.83 kB / 416 MB, free: 22.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.2652, allocations: 8 kB / 416 MB, free: 22.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.2654, allocations: 59.92 kB / 416.1 MB, free: 22.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.2654, allocations: 15.98 kB / 416.1 MB, free: 22.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.017e-05/0.2654, allocations: 27.81 kB / 416.1 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.2657, allocations: 125.9 kB / 416.2 MB, free: 22.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2657, allocations: 4 kB / 416.2 MB, free: 22.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2657, allocations: 0 / 416.2 MB, free: 22.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.2657, allocations: 0 / 416.2 MB, free: 22.69 MB / 302.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.0006442/0.2664, allocations: 391.3 kB / 416.6 MB, free: 22.26 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.2664, allocations: 11.89 kB / 416.6 MB, free: 22.25 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.577e-05/0.2665, allocations: 38.73 kB / 416.7 MB, free: 22.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.2665, allocations: 12.81 kB / 416.7 MB, free: 22.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.2666, allocations: 176.2 kB / 416.8 MB, free: 21.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.2667, allocations: 8.375 kB / 416.9 MB, free: 21.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.2667, allocations: 8.375 kB / 416.9 MB, free: 21.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.2669, allocations: 85.92 kB / 416.9 MB, free: 21.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2669, allocations: 0 / 416.9 MB, free: 21.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.2669, allocations: 0 / 416.9 MB, free: 21.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2669, allocations: 4 kB / 416.9 MB, free: 21.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.2671, allocations: 63.91 kB / 417 MB, free: 21.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/0.2676, allocations: 352.6 kB / 417.4 MB, free: 21.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.94e-05/0.2677, allocations: 42.5 kB / 417.4 MB, free: 21.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.017e-05/0.2677, allocations: 20.98 kB / 417.4 MB, free: 21.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.2679, allocations: 81.11 kB / 417.5 MB, free: 21.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.2679, allocations: 34.55 kB / 417.5 MB, free: 21.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 2.775e-06/0.2679, allocations: 8 kB / 417.5 MB, free: 21.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002327/0.2681, allocations: 77.55 kB / 417.6 MB, free: 21.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.2682, allocations: 63.27 kB / 417.7 MB, free: 21.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.714e-05/0.2683, allocations: 101.9 kB / 417.8 MB, free: 20.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.2683, allocations: 29.69 kB / 417.8 MB, free: 20.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.2683, allocations: 100 kB / 417.9 MB, free: 20.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.2684, allocations: 19.8 kB / 417.9 MB, free: 20.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.2684, allocations: 17.72 kB / 417.9 MB, free: 20.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.695e-05/0.2685, allocations: 314.8 kB / 418.2 MB, free: 20.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.652e-05/0.2685, allocations: 23.97 kB / 418.3 MB, free: 20.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.985e-05/0.2686, allocations: 12 kB / 418.3 MB, free: 20.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.412e-05/0.2686, allocations: 45.31 kB / 418.3 MB, free: 20.35 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2686, allocations: 0 / 418.3 MB, free: 20.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001135/0.2688, allocations: 73.53 kB / 418.4 MB, free: 20.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2688, allocations: 11.98 kB / 418.4 MB, free: 20.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2688, allocations: 0 / 418.4 MB, free: 20.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2688, allocations: 0 / 418.4 MB, free: 20.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/0.2689, allocations: 8 kB / 418.4 MB, free: 20.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2689, allocations: 7.938 kB / 418.4 MB, free: 20.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.269, allocations: 7.938 kB / 418.4 MB, free: 20.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.269, allocations: 4 kB / 418.4 MB, free: 20.23 MB / 302.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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.326e-05/0.2691, allocations: 113.8 kB / 418.5 MB, free: 20.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.2691, allocations: 7.906 kB / 418.6 MB, free: 20.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.2693, allocations: 81.56 kB / 418.6 MB, free: 20.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2693, allocations: 0 / 418.6 MB, free: 20.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2693, allocations: 3.938 kB / 418.6 MB, free: 20.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2693, allocations: 4 kB / 418.6 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.2695, allocations: 185.6 kB / 418.8 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2695, allocations: 3.938 kB / 418.8 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/0.2696, allocations: 8 kB / 418.8 MB, free: 19.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2696, allocations: 0 / 418.8 MB, free: 19.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.2696, allocations: 8 kB / 418.8 MB, free: 19.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2696, allocations: 320 / 418.8 MB, free: 19.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2696, allocations: 3.938 kB / 418.8 MB, free: 19.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.2697, allocations: 163.5 kB / 419 MB, free: 19.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.272e-05/0.2698, allocations: 89 kB / 419.1 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.2698, allocations: 0 / 419.1 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.826e-05/0.2699, allocations: 4 kB / 419.1 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.2699, allocations: 11.88 kB / 419.1 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.2699, allocations: 0 / 419.1 MB, free: 19.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.964e-05/0.27, allocations: 91.27 kB / 419.2 MB, free: 19.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.27, allocations: 0 / 419.2 MB, free: 19.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003414/0.2703, allocations: 12 kB / 419.2 MB, free: 19.35 MB / 302.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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003599/0.2707, allocations: 0.7163 MB / 419.9 MB, free: 18.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.2708, allocations: 39.92 kB / 420 MB, free: 18.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2709, allocations: 4 kB / 420 MB, free: 18.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.493e-05/0.2709, allocations: 23.92 kB / 420 MB, free: 18.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.2712, allocations: 7.938 kB / 420 MB, free: 18.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.2723, allocations: 1.309 MB / 421.3 MB, free: 17.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.2725, allocations: 0.6885 MB / 422 MB, free: 16.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.299e-05/0.2725, allocations: 4 kB / 422 MB, free: 16.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.2726, allocations: 23.42 kB / 422 MB, free: 16.4 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2726, allocations: 0 / 422 MB, free: 16.4 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.2901, allocations: 1.789 MB / 423.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.319/7.609, allocations: 17.55 kB / 423.8 MB, free: 14.63 MB / 302.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneBank.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneBank_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_OneBank.fmu > PowerSysPro_PowerSysPro.Tests.OneBank.pipe 2>&1)