Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.001066/0.001066, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.001117/0.001118, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7963/0.7963, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 61.72 kB / 0.568 GB, free: 28.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1523, allocations: 77.93 MB / 0.6441 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008441/0.1607, allocations: 6.78 MB / 0.6507 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005189/0.166, allocations: 3.059 MB / 0.6537 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006223/0.1666, allocations: 23.88 kB / 0.6537 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002656/0.1693, allocations: 0.953 MB / 0.6546 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.1707, allocations: 0.5206 MB / 0.6551 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.172, allocations: 449.5 kB / 0.6556 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001618/0.1736, allocations: 1.236 MB / 0.6568 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.1748, allocations: 0.6624 MB / 0.6574 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009728/0.1758, allocations: 486.2 kB / 0.6579 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.1769, allocations: 0.5253 MB / 0.6584 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002237/0.1772, allocations: 68 kB / 0.6585 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008594/0.178, allocations: 371.3 kB / 0.6588 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000397/0.1784, allocations: 319.1 kB / 0.6591 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006986/0.1791, allocations: 453.7 kB / 0.6596 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.1811, allocations: 1.23 MB / 0.6608 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.1811, allocations: 0 / 0.6608 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.515e-06/0.1811, allocations: 0 / 0.6608 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.702e-05/0.1812, allocations: 0 / 0.6608 GB, free: 8.406 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002757/0.184, allocations: 1.2 MB / 0.6619 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.184, allocations: 8.625 kB / 0.6619 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001457/0.1842, allocations: 118.7 kB / 0.662 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.1858, allocations: 240.1 kB / 0.6623 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009508/0.1868, allocations: 0.6082 MB / 0.6629 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.1868, allocations: 45.67 kB / 0.6629 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.1869, allocations: 72.34 kB / 0.663 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.1884, allocations: 1.081 MB / 0.664 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.1884, allocations: 11.89 kB / 0.664 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.581e-05/0.1885, allocations: 35.92 kB / 0.6641 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001589/0.1887, allocations: 85.25 kB / 0.6642 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.1898, allocations: 0.7504 MB / 0.6649 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005165/0.1949, allocations: 5.883 MB / 0.6706 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009469/0.1959, allocations: 0.5524 MB / 0.6712 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004248/0.1963, allocations: 330 kB / 0.6715 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.1964, allocations: 4.438 kB / 0.6715 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.1964, allocations: 39 kB / 0.6715 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 2.996e-06/0.1964, allocations: 0 / 0.6715 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.003742/0.2002, allocations: 1.999 MB / 0.6735 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.2002, allocations: 59.84 kB / 0.6735 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005941/0.2008, allocations: 0.5588 MB / 0.6741 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.2009, allocations: 37.64 kB / 0.6741 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.2012, allocations: 436 kB / 0.6745 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.2013, allocations: 178.5 kB / 0.6747 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.2015, allocations: 130.6 kB / 0.6748 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2017, allocations: 374.7 kB / 0.6752 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/0.2021, allocations: 277.8 kB / 0.6755 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005215/0.2026, allocations: 493 kB / 0.6759 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.2037, allocations: 0.8093 MB / 0.6767 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.2037, allocations: 7.984 kB / 0.6767 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001773/0.2055, allocations: 1.087 MB / 0.6778 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.2055, allocations: 8.875 kB / 0.6778 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.2055, allocations: 4 kB / 0.6778 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008256/0.2063, allocations: 291.1 kB / 0.6781 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000459/0.2068, allocations: 123.8 kB / 0.6782 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006408/0.2132, allocations: 7.13 MB / 0.6852 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005666/0.2138, allocations: 43.95 kB / 0.6852 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/0.2139, allocations: 32.06 kB / 0.6852 GB, free: 13.74 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003231/0.2142, allocations: 253.5 kB / 0.6855 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.2143, allocations: 75.53 kB / 0.6855 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.2159, allocations: 0.8925 MB / 0.6864 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.2159, allocations: 4 kB / 0.6864 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.2159, allocations: 4 kB / 0.6864 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.2159, allocations: 3.984 kB / 0.6864 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002871/0.2188, allocations: 1.728 MB / 0.6881 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.2188, allocations: 7.938 kB / 0.6881 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.2191, allocations: 56.14 kB / 0.6882 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007595/0.2199, allocations: 275.1 kB / 0.6884 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/0.2199, allocations: 8 kB / 0.6884 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006258/0.2262, allocations: 7.123 MB / 0.6954 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.2262, allocations: 12.03 kB / 0.6954 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.2277, allocations: 0.9803 MB / 0.6964 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003433/0.2281, allocations: 196.6 kB / 0.6966 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.2282, allocations: 15.88 kB / 0.6966 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004105/0.2286, allocations: 31.95 kB / 0.6966 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.2287, allocations: 47.89 kB / 0.6967 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.2288, allocations: 12.14 kB / 0.6967 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004485/0.2292, allocations: 391.1 kB / 0.697 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2292, allocations: 0 / 0.697 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008631/0.2301, allocations: 228 kB / 0.6973 GB, free: 0.6797 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001843/0.2319, allocations: 1.548 MB / 0.6988 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001955/0.2339, allocations: 1.271 MB / 0.7 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.2339, allocations: 4 kB / 0.7 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.2352, allocations: 0.8893 MB / 0.7009 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.2363, allocations: 227.3 kB / 0.7011 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008624/0.2449, allocations: 6.418 MB / 0.7074 GB, free: 5.836 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008221/0.2458, allocations: 1.017 MB / 0.7084 GB, free: 4.789 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004415/0.2462, allocations: 118 kB / 0.7085 GB, free: 4.672 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/0.2466, allocations: 255.3 kB / 0.7087 GB, free: 4.422 MB / 0.545 GB Notification: Performance of SimCode: time 1.001e-06/0.2466, allocations: 0 / 0.7087 GB, free: 4.422 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04825/0.2949, allocations: 17.47 MB / 0.7258 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.972/10.27, allocations: 7.031 kB / 0.7258 GB, free: 3.234 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)