Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.OneperfectTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneperfectTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneperfectTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneperfectTransfo",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.0007973/0.0007973, allocations: 96.86 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009211/0.0009211, allocations: 174.8 kB / 16.62 MB, free: 6.434 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.242/1.242, allocations: 223.3 MB / 240.7 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1643/0.1643, allocations: 8.085 MB / 299.8 MB, free: 2.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002958/0.0002958, allocations: 8 kB / 362.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09128/0.09159, allocations: 52.52 MB / 415.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneperfectTransfo): time 0.001322/0.09295, allocations: 0.9569 MB / 416.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.09445, allocations: 1.318 MB / 417.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.806e-05/0.09452, allocations: 4 kB / 417.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.09474, allocations: 83.66 kB / 417.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.09492, allocations: 67.61 kB / 417.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.09606, allocations: 0.7047 MB / 418.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.09624, allocations: 127.4 kB / 418.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.09636, allocations: 49.5 kB / 418.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.916e-05/0.09643, allocations: 51.78 kB / 418.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.317e-05/0.09652, allocations: 51.77 kB / 418.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.09655, allocations: 12 kB / 418.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002843/0.09683, allocations: 195.8 kB / 419.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.09687, allocations: 23.92 kB / 419.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.09691, allocations: 49.64 kB / 419.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.09716, allocations: 215.7 kB / 419.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.09717, allocations: 0 / 419.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.09718, allocations: 0 / 419.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.09719, allocations: 0 / 419.4 MB, free: 4.695 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.00157/0.09876, allocations: 0.6354 MB / 420 MB, free: 4.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.0988, allocations: 8.031 kB / 420 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.731e-05/0.09886, allocations: 46.55 kB / 420 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.0989, allocations: 19.77 kB / 420.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.09911, allocations: 216.8 kB / 420.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.09913, allocations: 11.94 kB / 420.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.09916, allocations: 20 kB / 420.3 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.09946, allocations: 183.3 kB / 420.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.09947, allocations: 0 / 420.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.0995, allocations: 4 kB / 420.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.09951, allocations: 7.953 kB / 420.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.09969, allocations: 108 kB / 420.6 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008114/0.1005, allocations: 0.5353 MB / 421.1 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007441/0.1013, allocations: 166.5 kB / 421.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.313e-05/0.1014, allocations: 40.84 kB / 421.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.1015, allocations: 85.05 kB / 421.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.1015, allocations: 34.56 kB / 421.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.1015, allocations: 0 / 421.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001074/0.1026, allocations: 351.4 kB / 421.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.1027, allocations: 77.11 kB / 421.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.1028, allocations: 145.7 kB / 422 MB, free: 1.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.1028, allocations: 29.7 kB / 422 MB, free: 1.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.1029, allocations: 136 kB / 422.2 MB, free: 1.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.1029, allocations: 31.55 kB / 422.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/0.1029, allocations: 0 / 422.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.103, allocations: 318.8 kB / 422.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.21e-05/0.1031, allocations: 47.98 kB / 422.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.484e-05/0.1032, allocations: 70.56 kB / 422.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.1033, allocations: 67.86 kB / 422.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1034, allocations: 4.031 kB / 422.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005046/0.1039, allocations: 218.3 kB / 422.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1039, allocations: 6.188 kB / 422.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1039, allocations: 3.984 kB / 422.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004473/0.1043, allocations: 88.8 kB / 423 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1045, allocations: 27.92 kB / 423 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1698/0.2743, allocations: 1.438 MB / 424.5 MB, free: 39.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.2745, allocations: 16.7 kB / 424.5 MB, free: 39.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.2745, allocations: 5.219 kB / 424.5 MB, free: 39.86 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.2746, allocations: 126.8 kB / 424.6 MB, free: 39.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.2747, allocations: 7.406 kB / 424.6 MB, free: 39.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005362/0.2752, allocations: 210.8 kB / 424.8 MB, free: 39.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2752, allocations: 8.016 kB / 424.8 MB, free: 39.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.2752, allocations: 1.359 kB / 424.8 MB, free: 39.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2752, allocations: 2.797 kB / 424.9 MB, free: 39.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.2754, allocations: 235.8 kB / 425.1 MB, free: 39.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2754, allocations: 0 / 425.1 MB, free: 39.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.452e-05/0.2755, allocations: 15.52 kB / 425.1 MB, free: 39.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003854/0.2759, allocations: 90.03 kB / 425.2 MB, free: 39.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.2759, allocations: 7.406 kB / 425.2 MB, free: 39.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.2769, allocations: 1.433 MB / 426.6 MB, free: 38.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.277, allocations: 4 kB / 426.6 MB, free: 38.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.2774, allocations: 279.4 kB / 426.9 MB, free: 38.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.11e-05/0.2774, allocations: 85.88 kB / 427 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.2774, allocations: 9.297 kB / 427 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.2776, allocations: 8.719 kB / 427 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.2776, allocations: 14.48 kB / 427 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.2776, allocations: 3.625 kB / 427 MB, free: 38.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.282e-05/0.2777, allocations: 100.5 kB / 427.1 MB, free: 37.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2777, allocations: 0 / 427.1 MB, free: 37.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.278, allocations: 46.05 kB / 427.2 MB, free: 37.95 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000618/0.2786, allocations: 0.8335 MB / 428 MB, free: 37.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006074/0.2792, allocations: 260.3 kB / 428.3 MB, free: 37.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2792, allocations: 0 / 428.3 MB, free: 37.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004121/0.2796, allocations: 194.4 kB / 428.4 MB, free: 37.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.2799, allocations: 13.77 kB / 428.5 MB, free: 37.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.2811, allocations: 0.882 MB / 429.3 MB, free: 36.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.2812, allocations: 0.7117 MB / 430 MB, free: 35.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.244e-05/0.2813, allocations: 16.55 kB / 430.1 MB, free: 35.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.108e-05/0.2813, allocations: 42.78 kB / 430.1 MB, free: 35.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2813, allocations: 0 / 430.1 MB, free: 35.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.2943, allocations: 3.278 MB / 433.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001208/0.2944, allocations: 190 kB / 433.6 MB, free: 35.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/1.879, allocations: 3.562 kB / 433.6 MB, free: 35.4 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneperfectTransfo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneperfectTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe 2>&1) Environment - environmentSimulation: