Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneTransfo.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.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",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.001616/0.001616, allocations: 101.8 kB / 16.31 MB, free: 6.391 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.002017/0.002017, allocations: 188.5 kB / 17.24 MB, free: 5.922 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.427/1.427, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05406/0.05406, allocations: 8.094 MB / 299.2 MB, free: 6.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 59.91 kB / 361.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2521, allocations: 51.51 MB / 413.3 MB, free: 25.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneTransfo): time 0.002259/0.2544, allocations: 1.311 MB / 414.7 MB, free: 24.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.2557, allocations: 1.395 MB / 416.1 MB, free: 22.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.425e-05/0.2558, allocations: 4 kB / 416.1 MB, free: 22.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.256, allocations: 107.4 kB / 416.2 MB, free: 22.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.2563, allocations: 83.47 kB / 416.2 MB, free: 22.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.2573, allocations: 0.8751 MB / 417.1 MB, free: 21.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.2575, allocations: 135.4 kB / 417.2 MB, free: 21.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.2577, allocations: 61.81 kB / 417.3 MB, free: 21.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.58e-05/0.2577, allocations: 67.72 kB / 417.4 MB, free: 21.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.645e-05/0.2578, allocations: 71.69 kB / 417.4 MB, free: 21.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.2578, allocations: 12 kB / 417.5 MB, free: 21.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002677/0.2581, allocations: 207.8 kB / 417.7 MB, free: 21.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.2581, allocations: 27.92 kB / 417.7 MB, free: 21.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.2582, allocations: 71.61 kB / 417.8 MB, free: 21.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.2585, allocations: 313.4 kB / 418.1 MB, free: 20.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2585, allocations: 3.938 kB / 418.1 MB, free: 20.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2585, allocations: 0 / 418.1 MB, free: 20.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.2585, allocations: 0 / 418.1 MB, free: 20.84 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001585/0.2601, allocations: 0.6667 MB / 418.7 MB, free: 20.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.2601, allocations: 15.83 kB / 418.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.2602, allocations: 42.73 kB / 418.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.2602, allocations: 12.84 kB / 418.8 MB, free: 20.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.2604, allocations: 216.1 kB / 419 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.2604, allocations: 8.375 kB / 419 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.2604, allocations: 12.38 kB / 419 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.2607, allocations: 179.9 kB / 419.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2607, allocations: 7.875 kB / 419.2 MB, free: 19.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.2607, allocations: 8 kB / 419.2 MB, free: 19.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.2607, allocations: 4 kB / 419.2 MB, free: 19.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.2609, allocations: 112 kB / 419.3 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006981/0.2616, allocations: 0.5391 MB / 419.9 MB, free: 18.87 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007618/0.2623, allocations: 166.5 kB / 420 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.501e-05/0.2624, allocations: 44.78 kB / 420.1 MB, free: 18.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.2625, allocations: 89.09 kB / 420.2 MB, free: 18.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.2625, allocations: 30.56 kB / 420.2 MB, free: 18.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.2625, allocations: 0 / 420.2 MB, free: 18.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.001096/0.2636, allocations: 347.4 kB / 420.5 MB, free: 18.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.2637, allocations: 81.11 kB / 420.6 MB, free: 18.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/0.2638, allocations: 144 kB / 420.8 MB, free: 17.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.2638, allocations: 25.7 kB / 420.8 MB, free: 17.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.2638, allocations: 128 kB / 420.9 MB, free: 17.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.2639, allocations: 31.55 kB / 420.9 MB, free: 17.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.2639, allocations: 37.7 kB / 421 MB, free: 17.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.975e-05/0.264, allocations: 322.8 kB / 421.3 MB, free: 17.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-05/0.264, allocations: 47.92 kB / 421.3 MB, free: 17.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.091e-05/0.2641, allocations: 75.25 kB / 421.4 MB, free: 17.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.2643, allocations: 129 kB / 421.5 MB, free: 17.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2643, allocations: 0 / 421.5 MB, free: 17.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004768/0.2648, allocations: 222.2 kB / 421.8 MB, free: 16.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.2648, allocations: 8 kB / 421.8 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.2648, allocations: 8 kB / 421.8 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004619/0.2653, allocations: 84.77 kB / 421.9 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.2654, allocations: 23.92 kB / 421.9 MB, free: 16.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.2666, allocations: 1.547 MB / 423.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.2667, allocations: 15.88 kB / 423.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.2667, allocations: 7.938 kB / 423.4 MB, free: 15.01 MB / 302.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 (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.358e-05/0.2668, allocations: 129.9 kB / 423.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.2668, allocations: 15.75 kB / 423.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004873/0.2673, allocations: 207 kB / 423.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.2674, allocations: 0 / 423.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.2674, allocations: 0 / 423.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2674, allocations: 3.984 kB / 423.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.2676, allocations: 241.5 kB / 424 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2676, allocations: 0 / 424 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.577e-05/0.2676, allocations: 19.98 kB / 424.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004055/0.2681, allocations: 84.77 kB / 424.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.2681, allocations: 4 kB / 424.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.2692, allocations: 1.539 MB / 425.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2692, allocations: 0 / 425.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004346/0.2696, allocations: 284.3 kB / 426 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.213e-05/0.2697, allocations: 88.95 kB / 426 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.2697, allocations: 8 kB / 426.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.2698, allocations: 4 kB / 426.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.2698, allocations: 11.98 kB / 426.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.2699, allocations: 4 kB / 426.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.994e-05/0.2699, allocations: 105.3 kB / 426.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2699, allocations: 0 / 426.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.2702, allocations: 51.83 kB / 426.2 MB, free: 11.98 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 (10): * Single equations (assignments): 9 * 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.0006426/0.2708, allocations: 0.8224 MB / 427 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007082/0.2716, allocations: 266.8 kB / 427.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.2716, allocations: 0 / 427.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004557/0.272, allocations: 210.6 kB / 427.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.2723, allocations: 7.094 kB / 427.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.2743, allocations: 1.877 MB / 429.4 MB, free: 8.668 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.2744, allocations: 0.708 MB / 430.1 MB, free: 7.934 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.044e-05/0.2745, allocations: 16.64 kB / 430.1 MB, free: 7.914 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.2745, allocations: 39.42 kB / 430.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2745, allocations: 0 / 430.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.2979, allocations: 3.54 MB / 433.7 MB, free: 4.391 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.087/9.385, allocations: 6.969 kB / 433.7 MB, free: 4.387 MB / 302.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneTransfo.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneTransfo_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_OneTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe 2>&1)