Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.Examples.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",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.001031/0.001031, allocations: 104.7 kB / 16.45 MB, free: 6.402 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.001059/0.001059, allocations: 182.4 kB / 17.38 MB, free: 5.676 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.221/1.221, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04447/0.04447, allocations: 8.096 MB / 299.3 MB, free: 6.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 67.91 kB / 414 MB, free: 22.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08358/0.08473, allocations: 51.51 MB / 465.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.002493/0.08726, allocations: 1.78 MB / 467.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.08898, allocations: 1.578 MB / 468.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.801e-05/0.08907, allocations: 8 kB / 468.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.0894, allocations: 135.3 kB / 469 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003095/0.08972, allocations: 151.1 kB / 469.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.09136, allocations: 1.062 MB / 470.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003032/0.09167, allocations: 282.6 kB / 470.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.09183, allocations: 84.97 kB / 470.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.798e-05/0.09193, allocations: 111.6 kB / 470.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.09208, allocations: 147.3 kB / 470.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.356e-05/0.09212, allocations: 24 kB / 470.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003428/0.09247, allocations: 239.8 kB / 471.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.09253, allocations: 59.75 kB / 471.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.09264, allocations: 139.3 kB / 471.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004649/0.09312, allocations: 462.4 kB / 471.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.09313, allocations: 0 / 471.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.09314, allocations: 0 / 471.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.09314, allocations: 0 / 471.7 MB, free: 12.45 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.003677/0.09683, allocations: 1.107 MB / 472.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.09687, allocations: 19.89 kB / 472.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.048e-05/0.09694, allocations: 50.73 kB / 472.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.956e-05/0.09701, allocations: 32.75 kB / 472.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.09727, allocations: 275.7 kB / 473.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.0973, allocations: 20.69 kB / 473.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.09734, allocations: 28.31 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004895/0.09784, allocations: 347.8 kB / 473.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.09786, allocations: 3.938 kB / 473.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.189e-05/0.0979, allocations: 11.98 kB / 473.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.09791, allocations: 4 kB / 473.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004027/0.09831, allocations: 299.3 kB / 473.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.09992, allocations: 1.35 MB / 475.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007588/0.1007, allocations: 382.6 kB / 475.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.1009, allocations: 169.3 kB / 475.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006858/0.1016, allocations: 0.7011 MB / 476.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.1017, allocations: 34.8 kB / 476.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.333e-06/0.1017, allocations: 0 / 476.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.003289/0.105, allocations: 1.14 MB / 477.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.105, allocations: 110.8 kB / 477.8 MB, free: 5.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.1052, allocations: 221 kB / 478 MB, free: 5.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.1052, allocations: 37.7 kB / 478 MB, free: 5.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/0.1053, allocations: 152.8 kB / 478.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.096e-05/0.1054, allocations: 103.1 kB / 478.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.1055, allocations: 82.11 kB / 478.3 MB, free: 5.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1056, allocations: 338.8 kB / 478.7 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.1059, allocations: 188.8 kB / 478.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003113/0.1062, allocations: 267.2 kB / 479.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005957/0.1068, allocations: 476.9 kB / 479.6 MB, free: 4.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1068, allocations: 4 kB / 479.6 MB, free: 4.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001876/0.1087, allocations: 0.8145 MB / 480.4 MB, free: 3.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1087, allocations: 8 kB / 480.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.1088, allocations: 0 / 480.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001856/0.1106, allocations: 417.2 kB / 480.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.1109, allocations: 71.91 kB / 480.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004248/0.1152, allocations: 4.031 MB / 484.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.1155, allocations: 43.7 kB / 485 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.1155, allocations: 19.98 kB / 485 MB, free: 14.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001497/0.1157, allocations: 146.6 kB / 485.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/0.1157, allocations: 27.86 kB / 485.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.1176, allocations: 0.74 MB / 485.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1176, allocations: 4 kB / 485.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1176, allocations: 0 / 485.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1176, allocations: 4 kB / 485.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003623/0.118, allocations: 413.1 kB / 486.3 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.118, allocations: 0 / 486.3 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.1181, allocations: 47.92 kB / 486.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001755/0.1199, allocations: 409.2 kB / 486.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.1199, allocations: 8 kB / 486.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004125/0.1241, allocations: 4.02 MB / 490.8 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1241, allocations: 0 / 490.8 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.1258, allocations: 0.7745 MB / 491.6 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.1259, allocations: 108.8 kB / 491.7 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.1259, allocations: 8 kB / 491.7 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.1261, allocations: 15.98 kB / 491.7 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.1262, allocations: 23.97 kB / 491.7 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.1262, allocations: 12 kB / 491.7 MB, free: 7.254 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.1264, allocations: 164.5 kB / 491.9 MB, free: 7.098 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1264, allocations: 0 / 491.9 MB, free: 7.098 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004575/0.1268, allocations: 116 kB / 492 MB, free: 6.984 MB / 366.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002009/0.1289, allocations: 1.339 MB / 493.3 MB, free: 5.613 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.1303, allocations: 0.7632 MB / 494.1 MB, free: 4.824 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1303, allocations: 8.062 kB / 494.1 MB, free: 4.816 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009801/0.1313, allocations: 0.5089 MB / 494.6 MB, free: 4.281 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.1316, allocations: 27.19 kB / 494.6 MB, free: 4.258 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005774/0.1374, allocations: 3.738 MB / 498.4 MB, free: 404 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.1377, allocations: 0.761 MB / 499.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.1378, allocations: 34.27 kB / 499.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.138, allocations: 87.39 kB / 499.3 MB, free: 15.49 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.138, allocations: 3.938 kB / 499.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.1667, allocations: 9.097 MB / 0.4964 GB, free: 6.527 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.716/8.883, allocations: 15.72 kB / 0.4965 GB, free: 6.512 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo_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_Examples_OneSourceOneTransfoOneLineOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1)