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-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.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.001115/0.001115, allocations: 103.1 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.001177/0.001177, allocations: 190.7 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.344/1.344, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05117/0.05117, allocations: 8.095 MB / 299.2 MB, free: 6.746 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 67.89 kB / 361.8 MB, free: 8.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2614, allocations: 51.52 MB / 413.3 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneperfectTransfo): time 0.002793/0.2642, allocations: 1.309 MB / 414.7 MB, free: 24.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.2658, allocations: 1.395 MB / 416.1 MB, free: 22.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.68e-05/0.2659, allocations: 4 kB / 416.1 MB, free: 22.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.2662, allocations: 111.4 kB / 416.2 MB, free: 22.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.2665, allocations: 83.52 kB / 416.2 MB, free: 22.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.2676, allocations: 0.8673 MB / 417.1 MB, free: 21.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.2678, allocations: 143.4 kB / 417.3 MB, free: 21.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.268, allocations: 61.81 kB / 417.3 MB, free: 21.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.886e-05/0.268, allocations: 55.8 kB / 417.4 MB, free: 21.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.395e-05/0.2681, allocations: 67.69 kB / 417.4 MB, free: 21.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.2682, allocations: 16 kB / 417.5 MB, free: 21.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002883/0.2685, allocations: 215.8 kB / 417.7 MB, free: 21.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.762e-05/0.2685, allocations: 27.92 kB / 417.7 MB, free: 21.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.489e-05/0.2686, allocations: 71.66 kB / 417.8 MB, free: 21.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.2689, allocations: 317.4 kB / 418.1 MB, free: 20.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2689, allocations: 3.938 kB / 418.1 MB, free: 20.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.2689, allocations: 0 / 418.1 MB, free: 20.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.269, allocations: 0 / 418.1 MB, free: 20.85 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.001741/0.2707, allocations: 0.6589 MB / 418.7 MB, free: 20.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.2707, allocations: 11.89 kB / 418.7 MB, free: 20.12 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.2708, allocations: 54.61 kB / 418.8 MB, free: 20.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.2708, allocations: 12.84 kB / 418.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.271, allocations: 204.2 kB / 419 MB, free: 19.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.271, allocations: 8.375 kB / 419 MB, free: 19.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.2711, allocations: 16.38 kB / 419 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.2713, allocations: 183.8 kB / 419.2 MB, free: 19.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.2713, allocations: 3.938 kB / 419.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.2714, allocations: 4 kB / 419.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.2714, allocations: 4 kB / 419.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.2715, allocations: 116 kB / 419.3 MB, free: 19.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007368/0.2723, allocations: 0.5469 MB / 419.9 MB, free: 18.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007866/0.2731, allocations: 158.6 kB / 420 MB, free: 18.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/0.2732, allocations: 48.78 kB / 420.1 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.2733, allocations: 81.11 kB / 420.2 MB, free: 18.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.2733, allocations: 30.56 kB / 420.2 MB, free: 18.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.2733, allocations: 192 / 420.2 MB, free: 18.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.001129/0.2745, allocations: 359.2 kB / 420.5 MB, free: 18.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.2745, allocations: 77.11 kB / 420.6 MB, free: 18.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.252e-05/0.2746, allocations: 143.8 kB / 420.8 MB, free: 17.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.2746, allocations: 25.7 kB / 420.8 MB, free: 17.87 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.2747, allocations: 124.1 kB / 420.9 MB, free: 17.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.2747, allocations: 31.55 kB / 420.9 MB, free: 17.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/0.2747, allocations: 37.7 kB / 421 MB, free: 17.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.827e-05/0.2748, allocations: 322.8 kB / 421.3 MB, free: 17.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-05/0.2749, allocations: 55.91 kB / 421.3 MB, free: 17.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.693e-05/0.275, allocations: 74.56 kB / 421.4 MB, free: 17.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.2752, allocations: 122 kB / 421.5 MB, free: 17.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2752, allocations: 0 / 421.5 MB, free: 17.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005183/0.2757, allocations: 233.2 kB / 421.8 MB, free: 16.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2757, allocations: 4 kB / 421.8 MB, free: 16.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.2757, allocations: 3.938 kB / 421.8 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005082/0.2762, allocations: 84.84 kB / 421.9 MB, free: 16.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.2764, allocations: 23.98 kB / 421.9 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.2777, allocations: 1.543 MB / 423.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.2778, allocations: 19.88 kB / 423.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.2778, allocations: 7.984 kB / 423.5 MB, free: 15.02 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 9.315e-05/0.2779, allocations: 129.9 kB / 423.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.278, allocations: 15.75 kB / 423.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005147/0.2785, allocations: 207 kB / 423.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2785, allocations: 4 kB / 423.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.2785, allocations: 0 / 423.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2785, allocations: 0 / 423.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.2787, allocations: 237.5 kB / 424 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2787, allocations: 4 kB / 424 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.553e-05/0.2788, allocations: 15.94 kB / 424 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003821/0.2792, allocations: 84.77 kB / 424.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.2792, allocations: 0 / 424.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/0.2806, allocations: 1.547 MB / 425.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2806, allocations: 3.984 kB / 425.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004777/0.2811, allocations: 280.3 kB / 426 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.835e-05/0.2811, allocations: 84.95 kB / 426 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.2811, allocations: 4 kB / 426 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.2813, allocations: 4 kB / 426 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.2813, allocations: 11.98 kB / 426.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.2813, allocations: 4 kB / 426.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.613e-05/0.2814, allocations: 109.6 kB / 426.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2814, allocations: 3.938 kB / 426.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.2817, allocations: 47.84 kB / 426.2 MB, free: 12 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.0007018/0.2824, allocations: 0.8265 MB / 427 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007102/0.2831, allocations: 266.8 kB / 427.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2831, allocations: 4 kB / 427.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005365/0.2837, allocations: 198.6 kB / 427.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.2841, allocations: 12.06 kB / 427.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002834/0.2869, allocations: 1.869 MB / 429.4 MB, free: 8.688 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.2871, allocations: 0.7119 MB / 430.1 MB, free: 7.949 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.92e-05/0.2872, allocations: 20.59 kB / 430.1 MB, free: 7.926 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.747e-05/0.2873, allocations: 39.42 kB / 430.2 MB, free: 7.887 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2873, allocations: 4 kB / 430.2 MB, free: 7.883 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.3168, allocations: 3.543 MB / 433.7 MB, free: 4.406 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.218/9.535, allocations: 8.062 kB / 433.7 MB, free: 4.398 MB / 302.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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneperfectTransfo_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_OneperfectTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe 2>&1)