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.001112/0.001112, allocations: 100 kB / 16.45 MB, free: 6.441 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.001171/0.001171, allocations: 189.4 kB / 17.39 MB, free: 5.688 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.233/1.233, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04367/0.04367, allocations: 8.094 MB / 299.3 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 67.89 kB / 414 MB, free: 22.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07729/0.0784, allocations: 51.51 MB / 465.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneperfectTransfo): time 0.002346/0.08078, allocations: 1.322 MB / 466.8 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.08235, allocations: 1.403 MB / 468.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.61e-05/0.08244, allocations: 4 kB / 468.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.08275, allocations: 103.5 kB / 468.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.08296, allocations: 83.47 kB / 468.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.08431, allocations: 0.8789 MB / 469.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.08451, allocations: 143.3 kB / 469.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.08465, allocations: 61.95 kB / 469.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.592e-05/0.08471, allocations: 63.77 kB / 469.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.352e-05/0.0848, allocations: 67.7 kB / 469.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.08483, allocations: 12 kB / 469.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.08513, allocations: 211.8 kB / 469.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.792e-05/0.08517, allocations: 27.92 kB / 469.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.842e-05/0.08524, allocations: 71.66 kB / 469.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.08561, allocations: 319.1 kB / 470.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.08562, allocations: 0 / 470.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.08562, allocations: 0 / 470.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.08563, allocations: 4 kB / 470.2 MB, free: 13.94 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.001696/0.08733, allocations: 0.6584 MB / 470.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.08738, allocations: 15.83 kB / 470.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.119e-05/0.08742, allocations: 46.73 kB / 470.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/0.08748, allocations: 16.84 kB / 471 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.08765, allocations: 216.1 kB / 471.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.08767, allocations: 12.38 kB / 471.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.08771, allocations: 24.36 kB / 471.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.08798, allocations: 171.9 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.088, allocations: 3.938 kB / 471.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.08802, allocations: 4 kB / 471.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.08803, allocations: 4 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.08821, allocations: 115.9 kB / 471.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007982/0.08901, allocations: 0.5354 MB / 472 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007863/0.08981, allocations: 162.5 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.142e-05/0.0899, allocations: 48.8 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.09001, allocations: 81.11 kB / 472.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.09004, allocations: 38.55 kB / 472.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.09005, allocations: 0 / 472.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001149/0.0912, allocations: 343.9 kB / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.09125, allocations: 81.09 kB / 472.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.09136, allocations: 153 kB / 472.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.09139, allocations: 33.64 kB / 472.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.074e-05/0.09147, allocations: 128.2 kB / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.0915, allocations: 31.73 kB / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/0.09156, allocations: 33.7 kB / 473.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.09167, allocations: 322.8 kB / 473.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.35e-05/0.09175, allocations: 47.98 kB / 473.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.09187, allocations: 82.48 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.09206, allocations: 125.7 kB / 473.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.09207, allocations: 4 kB / 473.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000533/0.0926, allocations: 218.3 kB / 473.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.09263, allocations: 4 kB / 473.9 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.09264, allocations: 4 kB / 473.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004771/0.09312, allocations: 84.83 kB / 474 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.09325, allocations: 27.92 kB / 474 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/0.09474, allocations: 1.543 MB / 475.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.09487, allocations: 15.91 kB / 475.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.09489, allocations: 11.94 kB / 475.6 MB, free: 8.094 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.0001012/0.095, allocations: 125.8 kB / 475.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.09504, allocations: 15.94 kB / 475.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005344/0.09558, allocations: 203.1 kB / 475.9 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.0956, allocations: 4 kB / 475.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.09561, allocations: 0 / 475.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.09561, allocations: 0 / 475.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.09583, allocations: 241.5 kB / 476.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.09584, allocations: 0 / 476.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.242e-05/0.09592, allocations: 19.98 kB / 476.2 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004199/0.09635, allocations: 84.78 kB / 476.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.09638, allocations: 4 kB / 476.3 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.09777, allocations: 1.547 MB / 477.8 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.09778, allocations: 0 / 477.8 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005045/0.09829, allocations: 276.2 kB / 478.1 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.09835, allocations: 97.03 kB / 478.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.09837, allocations: 0 / 478.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.0985, allocations: 11.98 kB / 478.2 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.09853, allocations: 4 kB / 478.2 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.09855, allocations: 7.984 kB / 478.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.325e-05/0.09862, allocations: 103.3 kB / 478.3 MB, free: 5.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09862, allocations: 0 / 478.3 MB, free: 5.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.09892, allocations: 47.89 kB / 478.4 MB, free: 5.082 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.000792/0.09972, allocations: 0.838 MB / 479.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007026/0.1004, allocations: 266.5 kB / 479.5 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1004, allocations: 4.062 kB / 479.5 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004935/0.1009, allocations: 187 kB / 479.7 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.1012, allocations: 8.219 kB / 479.7 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.1034, allocations: 1.879 MB / 481.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.1037, allocations: 0.7119 MB / 482.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.164e-05/0.1037, allocations: 16.66 kB / 482.3 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.462e-05/0.1038, allocations: 39.42 kB / 482.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1038, allocations: 0 / 482.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.1323, allocations: 3.616 MB / 485.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.723/8.855, allocations: 15.56 kB / 485.9 MB, free: 13.41 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)