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.001349/0.001349, allocations: 105.5 kB / 16.45 MB, free: 6.461 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.001519/0.001519, allocations: 189 kB / 17.39 MB, free: 5.668 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.238/1.238, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04242/0.04242, allocations: 8.111 MB / 299.4 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 59.91 kB / 414 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07982/0.08092, allocations: 51.52 MB / 465.5 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneperfectTransfo): time 0.002323/0.08327, allocations: 1.322 MB / 466.8 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.08502, allocations: 1.399 MB / 468.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.08515, allocations: 0 / 468.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003809/0.08554, allocations: 107.5 kB / 468.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.08589, allocations: 87.45 kB / 468.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.08738, allocations: 0.8749 MB / 469.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.08764, allocations: 143.3 kB / 469.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.0878, allocations: 61.94 kB / 469.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.82e-05/0.0879, allocations: 59.78 kB / 469.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.08801, allocations: 71.64 kB / 469.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.08804, allocations: 12 kB / 469.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003694/0.08842, allocations: 215.8 kB / 469.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.839e-05/0.08846, allocations: 23.92 kB / 469.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.968e-05/0.08853, allocations: 71.66 kB / 469.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00043/0.08897, allocations: 319.1 kB / 470.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.08898, allocations: 4 kB / 470.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.08899, allocations: 0 / 470.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.089, allocations: 0 / 470.2 MB, free: 13.96 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.001715/0.09072, allocations: 0.6648 MB / 470.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.09077, allocations: 23.77 kB / 470.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.756e-05/0.09082, allocations: 46.73 kB / 470.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.09088, allocations: 16.84 kB / 471 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.09107, allocations: 210.5 kB / 471.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.09109, allocations: 12.38 kB / 471.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.09112, allocations: 16.36 kB / 471.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.0914, allocations: 179.8 kB / 471.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.09142, allocations: 3.938 kB / 471.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.09144, allocations: 8 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.09145, allocations: 0 / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.09164, allocations: 116 kB / 471.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007816/0.09243, allocations: 0.5315 MB / 472 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007706/0.09321, allocations: 166.5 kB / 472.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.638e-05/0.0933, allocations: 44.8 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.09341, allocations: 85.11 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.09344, allocations: 34.55 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.09345, allocations: 0 / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001107/0.09456, allocations: 343.6 kB / 472.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.09461, allocations: 85.03 kB / 472.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.864e-05/0.09472, allocations: 145.5 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.09475, allocations: 25.7 kB / 472.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.09481, allocations: 132.2 kB / 473.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.09484, allocations: 31.73 kB / 473.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-05/0.09491, allocations: 37.7 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.907e-05/0.095, allocations: 326.8 kB / 473.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.455e-05/0.09509, allocations: 43.98 kB / 473.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.622e-05/0.09519, allocations: 74.55 kB / 473.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.09539, allocations: 125.8 kB / 473.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.0954, allocations: 0 / 473.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005242/0.09593, allocations: 226.3 kB / 473.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.09595, allocations: 7.125 kB / 473.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.09596, allocations: 384 / 473.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004662/0.09643, allocations: 92.73 kB / 474 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.09656, allocations: 23.98 kB / 474 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.09799, allocations: 1.551 MB / 475.6 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.09812, allocations: 27.84 kB / 475.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.09814, allocations: 3.938 kB / 475.6 MB, free: 8.105 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 (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 8.93e-05/0.09824, allocations: 121.8 kB / 475.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.09828, allocations: 19.84 kB / 475.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005333/0.09882, allocations: 207.2 kB / 476 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.09883, allocations: 0 / 476 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.09884, allocations: 0 / 476 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.09885, allocations: 0 / 476 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.09906, allocations: 237.5 kB / 476.2 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.09907, allocations: 0 / 476.2 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.834e-05/0.09915, allocations: 15.98 kB / 476.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000403/0.09956, allocations: 84.78 kB / 476.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.09959, allocations: 7.938 kB / 476.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.1009, allocations: 1.543 MB / 477.8 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1009, allocations: 0 / 477.8 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004829/0.1014, allocations: 276.2 kB / 478.1 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.1015, allocations: 92.94 kB / 478.2 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.1015, allocations: 4 kB / 478.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.1016, allocations: 12.05 kB / 478.2 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.1017, allocations: 8 kB / 478.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.1017, allocations: 3.984 kB / 478.2 MB, free: 5.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.146e-05/0.1017, allocations: 103.3 kB / 478.3 MB, free: 5.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1017, allocations: 0 / 478.3 MB, free: 5.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.102, allocations: 47.89 kB / 478.4 MB, free: 5.102 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 (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.0007364/0.1028, allocations: 0.842 MB / 479.2 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006964/0.1035, allocations: 258.6 kB / 479.5 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1035, allocations: 0 / 479.5 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004934/0.104, allocations: 202.7 kB / 479.7 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.1042, allocations: 8 kB / 479.7 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.1064, allocations: 1.862 MB / 481.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.1067, allocations: 0.7119 MB / 482.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.04e-05/0.1067, allocations: 16.66 kB / 482.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.096e-05/0.1068, allocations: 43.42 kB / 482.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1068, allocations: 0 / 482.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.127, allocations: 3.614 MB / 485.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.307/8.434, allocations: 16.8 kB / 485.9 MB, free: 13.44 MB / 366.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)