Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",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.001535/0.001535, allocations: 105.2 kB / 16.45 MB, free: 6.445 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.001635/0.001635, allocations: 186.4 kB / 17.38 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.241/1.241, allocations: 222.9 MB / 241.1 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04313/0.04313, allocations: 8.091 MB / 299.3 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 59.91 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07833/0.07945, allocations: 51.51 MB / 465.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.003437/0.08292, allocations: 2.799 MB / 468.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002195/0.08514, allocations: 1.758 MB / 470.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.08527, allocations: 8 kB / 470.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.08567, allocations: 183 kB / 470.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004728/0.08616, allocations: 266.3 kB / 470.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.08794, allocations: 1.116 MB / 471.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005638/0.08852, allocations: 0.5131 MB / 472.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.08877, allocations: 164.3 kB / 472.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.08896, allocations: 215.2 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.08922, allocations: 258.9 kB / 472.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.67e-05/0.08929, allocations: 36 kB / 472.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004149/0.08971, allocations: 263.8 kB / 473 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.88e-05/0.08979, allocations: 103.5 kB / 473.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.09, allocations: 246.8 kB / 473.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006934/0.0907, allocations: 0.6772 MB / 474.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.09071, allocations: 4 kB / 474.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.09072, allocations: 0 / 474.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.09073, allocations: 0 / 474.1 MB, free: 10.06 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.005682/0.09642, allocations: 1.672 MB / 475.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.09647, allocations: 11.89 kB / 475.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.979e-05/0.09657, allocations: 74.72 kB / 475.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.09668, allocations: 56.61 kB / 475.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.09709, allocations: 364.1 kB / 476.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.09713, allocations: 33.38 kB / 476.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.408e-05/0.09721, allocations: 40.38 kB / 476.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000884/0.0981, allocations: 0.6047 MB / 476.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.09812, allocations: 4 kB / 476.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.727e-05/0.09817, allocations: 16 kB / 476.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.09819, allocations: 8 kB / 476.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007934/0.09899, allocations: 0.5467 MB / 477.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002808/0.1018, allocations: 2.224 MB / 479.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.1029, allocations: 0.8848 MB / 480.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000512/0.1035, allocations: 402.4 kB / 481 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00145/0.1049, allocations: 1.342 MB / 482.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.105, allocations: 43 kB / 482.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 1.523e-06/0.105, allocations: 4 kB / 482.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.008845/0.1138, allocations: 2.654 MB / 485 MB, free: 14.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.1139, allocations: 111.2 kB / 485.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.1142, allocations: 341.5 kB / 485.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.1142, allocations: 41.7 kB / 485.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.1144, allocations: 205.5 kB / 485.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.1145, allocations: 182.4 kB / 485.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.1147, allocations: 154.5 kB / 486 MB, free: 13.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1149, allocations: 350.8 kB / 486.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005512/0.1154, allocations: 405.9 kB / 486.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006229/0.1161, allocations: 0.505 MB / 487.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.1173, allocations: 0.9454 MB / 488.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1173, allocations: 0 / 488.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004206/0.1215, allocations: 1.786 MB / 490 MB, free: 9.469 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1215, allocations: 4 kB / 490 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1215, allocations: 4 kB / 490 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004165/0.1257, allocations: 1.094 MB / 491.1 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/0.1261, allocations: 123.8 kB / 491.2 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0083/0.1344, allocations: 5.237 MB / 496.5 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005339/0.135, allocations: 75.41 kB / 496.5 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/0.1351, allocations: 27.98 kB / 496.6 MB, free: 2.762 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (70): * Single equations (assignments): 69 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002124/0.1353, allocations: 185.8 kB / 496.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-05/0.1354, allocations: 43.72 kB / 496.8 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004064/0.1395, allocations: 1.624 MB / 498.4 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.1395, allocations: 8 kB / 498.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1395, allocations: 4 kB / 498.4 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.1395, allocations: 3.984 kB / 498.4 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006117/0.1401, allocations: 0.6776 MB / 499.1 MB, free: 148 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1401, allocations: 0 / 499.1 MB, free: 148 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.1403, allocations: 67.91 kB / 499.2 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004134/0.1445, allocations: 1.023 MB / 0.4885 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.904e-05/0.1446, allocations: 11.98 kB / 0.4885 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008323/0.1529, allocations: 5.21 MB / 0.4936 GB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1529, allocations: 384 / 0.4936 GB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003991/0.1569, allocations: 1.624 MB / 0.4952 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.157, allocations: 128.6 kB / 0.4953 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.529e-05/0.1571, allocations: 15.94 kB / 0.4953 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.1575, allocations: 31.52 kB / 0.4953 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.1576, allocations: 48.44 kB / 0.4954 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/0.1577, allocations: 16 kB / 0.4954 GB, free: 7.801 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002194/0.1579, allocations: 235.1 kB / 0.4956 GB, free: 7.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1579, allocations: 0 / 0.4956 GB, free: 7.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000759/0.1587, allocations: 232 kB / 0.4958 GB, free: 7.344 MB / 382.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 (39): * Single equations (assignments): 38 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004355/0.1631, allocations: 2.196 MB / 0.498 GB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002748/0.1658, allocations: 1.349 MB / 0.4993 GB, free: 3.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1658, allocations: 4.188 kB / 0.4993 GB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001837/0.1677, allocations: 0.8147 MB / 0.5001 GB, free: 2.938 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.168, allocations: 44.17 kB / 0.5001 GB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.181/0.3491, allocations: 6.671 MB / 0.5067 GB, free: 44.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.3494, allocations: 0.8295 MB / 0.5075 GB, free: 43.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000188/0.3496, allocations: 63.17 kB / 0.5075 GB, free: 43.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.3498, allocations: 148.1 kB / 0.5077 GB, free: 43.34 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3498, allocations: 0 / 0.5077 GB, free: 43.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04141/0.3912, allocations: 17.54 MB / 0.5248 GB, free: 37.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.339/9.73, allocations: 9.125 kB / 0.5248 GB, free: 37.95 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines_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_OneSourceOneTransfoOneLineOneTransfoThreeLines.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1)