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.001083/0.001083, allocations: 104 kB / 16.45 MB, free: 6.406 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.00106/0.00106, allocations: 192.1 kB / 17.38 MB, free: 5.648 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.227/1.227, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04311/0.04311, allocations: 8.088 MB / 299.3 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 67.88 kB / 414 MB, free: 22.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08087/0.08207, allocations: 51.51 MB / 465.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneTransfo): time 0.002481/0.08459, allocations: 1.326 MB / 466.8 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.08638, allocations: 1.399 MB / 468.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.784e-05/0.0865, allocations: 4 kB / 468.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.08689, allocations: 107.5 kB / 468.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.08718, allocations: 83.45 kB / 468.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.08863, allocations: 0.8749 MB / 469.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.08888, allocations: 143.3 kB / 469.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.08903, allocations: 65.94 kB / 469.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.232e-05/0.08911, allocations: 55.78 kB / 469.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.08923, allocations: 75.62 kB / 469.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.08926, allocations: 12 kB / 469.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003693/0.08963, allocations: 211.8 kB / 469.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.588e-05/0.08968, allocations: 27.92 kB / 469.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.216e-05/0.08975, allocations: 75.66 kB / 469.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004727/0.09023, allocations: 315.2 kB / 470.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.09025, allocations: 0 / 470.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09026, allocations: 0 / 470.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.09027, allocations: 0 / 470.2 MB, free: 13.93 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.001815/0.09209, allocations: 0.6662 MB / 470.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.09213, allocations: 11.89 kB / 470.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.591e-05/0.0922, allocations: 50.67 kB / 470.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.09225, allocations: 16.84 kB / 471 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.09246, allocations: 216.1 kB / 471.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.09248, allocations: 8.375 kB / 471.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.09251, allocations: 12.38 kB / 471.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.09281, allocations: 179.8 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.09283, allocations: 11.94 kB / 471.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.09286, allocations: 4 kB / 471.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.09287, allocations: 4 kB / 471.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.09305, allocations: 116 kB / 471.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008615/0.09392, allocations: 0.5354 MB / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008227/0.09476, allocations: 158.5 kB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.047e-05/0.09485, allocations: 44.78 kB / 472.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.09498, allocations: 85.09 kB / 472.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.09501, allocations: 34.56 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.09502, allocations: 0 / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001172/0.09619, allocations: 351.5 kB / 472.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.09625, allocations: 85.05 kB / 472.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.09638, allocations: 141.5 kB / 472.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.09641, allocations: 33.7 kB / 473 MB, free: 10.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.629e-05/0.09649, allocations: 132.2 kB / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.09653, allocations: 31.73 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.086e-05/0.09659, allocations: 29.7 kB / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.96e-05/0.0967, allocations: 326.8 kB / 473.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.505e-05/0.0968, allocations: 47.98 kB / 473.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.09691, allocations: 78.55 kB / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.09712, allocations: 125.7 kB / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.09713, allocations: 0 / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005708/0.09771, allocations: 218.4 kB / 473.9 MB, free: 9.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.09774, allocations: 7.125 kB / 473.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.09775, allocations: 0 / 473.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004957/0.09825, allocations: 92.7 kB / 474 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.09838, allocations: 27.98 kB / 474 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/0.09994, allocations: 1.543 MB / 475.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.1001, allocations: 15.89 kB / 475.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.1001, allocations: 8.094 kB / 475.6 MB, free: 8.082 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 0.0001137/0.1002, allocations: 133.8 kB / 475.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.1003, allocations: 15.84 kB / 475.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005355/0.1008, allocations: 199.1 kB / 475.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1008, allocations: 0 / 475.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.1008, allocations: 8 kB / 476 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1008, allocations: 0 / 476 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.1011, allocations: 233.5 kB / 476.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1011, allocations: 4 kB / 476.2 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.246e-05/0.1012, allocations: 19.98 kB / 476.2 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000412/0.1016, allocations: 84.77 kB / 476.3 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.1016, allocations: 4 kB / 476.3 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.1031, allocations: 1.539 MB / 477.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1031, allocations: 0 / 477.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005153/0.1036, allocations: 284.3 kB / 478.1 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.1037, allocations: 92.94 kB / 478.2 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.1037, allocations: 0 / 478.2 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.1038, allocations: 4.375 kB / 478.2 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.1038, allocations: 11.98 kB / 478.2 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.1038, allocations: 4 kB / 478.2 MB, free: 5.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.213e-05/0.1039, allocations: 107.2 kB / 478.3 MB, free: 5.117 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1039, allocations: 0 / 478.3 MB, free: 5.117 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.1042, allocations: 55.88 kB / 478.4 MB, free: 5.062 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.0008102/0.1051, allocations: 0.8263 MB / 479.2 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007502/0.1058, allocations: 266.6 kB / 479.5 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1058, allocations: 0 / 479.5 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000519/0.1064, allocations: 202.6 kB / 479.7 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.1066, allocations: 8.547 kB / 479.7 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.1089, allocations: 1.872 MB / 481.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.1092, allocations: 0.708 MB / 482.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.615e-05/0.1093, allocations: 20.64 kB / 482.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/0.1093, allocations: 39.42 kB / 482.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1093, allocations: 0 / 482.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.1322, allocations: 3.606 MB / 485.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.885/9.017, allocations: 8 kB / 485.9 MB, free: 13.42 MB / 366.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)