Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.001172/0.001173, allocations: 109.4 kB / 16.41 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.001249/0.00125, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7902/0.7902, allocations: 126.1 MB / 417.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 71.77 kB / 0.5726 GB, free: 27.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1387, allocations: 78.7 MB / 0.6495 GB, free: 4.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007929/0.1467, allocations: 6.138 MB / 0.6554 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004903/0.1516, allocations: 3.172 MB / 0.6585 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005676/0.1522, allocations: 31.75 kB / 0.6586 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002485/0.1547, allocations: 0.9327 MB / 0.6595 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.156, allocations: 493.5 kB / 0.66 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.1573, allocations: 0.494 MB / 0.6604 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00145/0.1587, allocations: 1.112 MB / 0.6615 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009658/0.1597, allocations: 0.6429 MB / 0.6622 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007553/0.1605, allocations: 442.4 kB / 0.6626 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008152/0.1613, allocations: 482.2 kB / 0.663 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.1615, allocations: 60 kB / 0.6631 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009701/0.1624, allocations: 479 kB / 0.6635 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003494/0.1628, allocations: 291.2 kB / 0.6638 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005031/0.1633, allocations: 398 kB / 0.6642 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.1649, allocations: 1.187 MB / 0.6654 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1649, allocations: 0 / 0.6654 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.415e-06/0.1649, allocations: 0 / 0.6654 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.977e-05/0.165, allocations: 0 / 0.6654 GB, free: 4.215 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002064/0.1671, allocations: 1.093 MB / 0.6664 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.1671, allocations: 8.031 kB / 0.6664 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.1673, allocations: 114.7 kB / 0.6665 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.1688, allocations: 224.2 kB / 0.6668 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009673/0.1698, allocations: 0.6043 MB / 0.6674 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.239e-05/0.1698, allocations: 45.67 kB / 0.6674 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.1699, allocations: 60.36 kB / 0.6675 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.1714, allocations: 1.03 MB / 0.6685 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.1714, allocations: 11.89 kB / 0.6685 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.857e-05/0.1715, allocations: 39.98 kB / 0.6685 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.662e-05/0.1716, allocations: 65.27 kB / 0.6686 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.1727, allocations: 0.6918 MB / 0.6692 GB, free: 24 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005182/0.1779, allocations: 5.742 MB / 0.6749 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00085/0.1788, allocations: 0.6006 MB / 0.6754 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008399/0.1796, allocations: 432.6 kB / 0.6759 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.1797, allocations: 4 kB / 0.6759 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.1797, allocations: 42.48 kB / 0.6759 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=41): time 2.024e-06/0.1797, allocations: 0 / 0.6759 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.004225/0.1839, allocations: 2.023 MB / 0.6779 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.184, allocations: 59.41 kB / 0.6779 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005339/0.1845, allocations: 462.8 kB / 0.6784 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.1846, allocations: 37.7 kB / 0.6784 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.1848, allocations: 388.2 kB / 0.6788 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.185, allocations: 166.5 kB / 0.6789 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.1852, allocations: 110.3 kB / 0.679 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1854, allocations: 362.8 kB / 0.6794 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.1857, allocations: 245.2 kB / 0.6796 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004961/0.1862, allocations: 461 kB / 0.6801 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009235/0.1871, allocations: 0.748 MB / 0.6808 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1872, allocations: 3.938 kB / 0.6808 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001904/0.1891, allocations: 1.046 MB / 0.6818 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.1891, allocations: 9.875 kB / 0.6818 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.1891, allocations: 11.94 kB / 0.6818 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.1902, allocations: 319.6 kB / 0.6821 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.1905, allocations: 95.83 kB / 0.6822 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007506/0.198, allocations: 7.47 MB / 0.6895 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005127/0.1986, allocations: 40.02 kB / 0.6896 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-05/0.1987, allocations: 24 kB / 0.6896 GB, free: 9.781 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004055/0.1991, allocations: 249.5 kB / 0.6898 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.1992, allocations: 63.56 kB / 0.6899 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/0.2009, allocations: 0.8926 MB / 0.6908 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2009, allocations: 4 kB / 0.6908 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.2009, allocations: 4 kB / 0.6908 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.2009, allocations: 7.984 kB / 0.6908 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/0.2035, allocations: 1.681 MB / 0.6924 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2035, allocations: 0 / 0.6924 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.2037, allocations: 44.08 kB / 0.6925 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000897/0.2046, allocations: 307.3 kB / 0.6928 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.2047, allocations: 19.98 kB / 0.6928 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006724/0.2114, allocations: 7.451 MB / 0.7 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.2114, allocations: 11.88 kB / 0.7001 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.2131, allocations: 0.9915 MB / 0.701 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.2134, allocations: 176.7 kB / 0.7012 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.032e-05/0.2135, allocations: 8 kB / 0.7012 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.2137, allocations: 28.14 kB / 0.7012 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.2139, allocations: 39.94 kB / 0.7013 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.2139, allocations: 12 kB / 0.7013 GB, free: 13.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003446/0.2142, allocations: 314.9 kB / 0.7016 GB, free: 12.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2143, allocations: 3.938 kB / 0.7016 GB, free: 12.74 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000766/0.215, allocations: 192 kB / 0.7018 GB, free: 12.55 MB / 0.545 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.001864/0.2169, allocations: 1.564 MB / 0.7033 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00187/0.2188, allocations: 1.195 MB / 0.7045 GB, free: 9.684 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2188, allocations: 0 / 0.7045 GB, free: 9.684 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.22, allocations: 0.8542 MB / 0.7053 GB, free: 8.777 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009941/0.221, allocations: 207 kB / 0.7055 GB, free: 8.586 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008129/0.2292, allocations: 5.881 MB / 0.7112 GB, free: 2.375 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006767/0.2299, allocations: 0.9959 MB / 0.7122 GB, free: 1.352 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003143/0.2302, allocations: 101.2 kB / 0.7123 GB, free: 1.254 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.2305, allocations: 227.4 kB / 0.7125 GB, free: 1.031 MB / 0.545 GB Notification: Performance of SimCode: time 1.262e-06/0.2305, allocations: 3.938 kB / 0.7125 GB, free: 1.027 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04715/0.2776, allocations: 15.37 MB / 0.7275 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.839/10.12, allocations: 12.73 kB / 0.7275 GB, free: 1.906 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_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_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)