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.001171/0.001171, allocations: 105.1 kB / 16.4 MB, free: 6.449 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.001164/0.001163, allocations: 196 kB / 17.34 MB, free: 5.719 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.203/1.203, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6563/0.6563, allocations: 115.3 MB / 406.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 65.97 kB / 0.5572 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1144, allocations: 76.17 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007364/0.1218, allocations: 6.798 MB / 0.6382 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004078/0.1259, allocations: 3.071 MB / 0.6412 GB, free: 11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002937/0.1262, allocations: 27.81 kB / 0.6412 GB, free: 10.97 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002093/0.1283, allocations: 0.944 MB / 0.6422 GB, free: 10.03 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008304/0.1292, allocations: 0.5207 MB / 0.6427 GB, free: 9.504 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008123/0.13, allocations: 454.2 kB / 0.6431 GB, free: 9.062 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009958/0.131, allocations: 1.224 MB / 0.6443 GB, free: 7.832 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007459/0.1318, allocations: 0.6688 MB / 0.645 GB, free: 7.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004648/0.1322, allocations: 478.2 kB / 0.6454 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005169/0.1328, allocations: 0.5214 MB / 0.6459 GB, free: 6.168 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.127e-05/0.1328, allocations: 68 kB / 0.646 GB, free: 6.102 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005079/0.1334, allocations: 383.2 kB / 0.6464 GB, free: 5.727 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.1336, allocations: 315.1 kB / 0.6467 GB, free: 5.418 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003819/0.134, allocations: 449.7 kB / 0.6471 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.135, allocations: 1.216 MB / 0.6483 GB, free: 3.758 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.135, allocations: 0 / 0.6483 GB, free: 3.758 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1351, allocations: 4 kB / 0.6483 GB, free: 3.754 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.1351, allocations: 0 / 0.6483 GB, free: 3.754 MB / 494.1 MB 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.001601/0.1367, allocations: 1.176 MB / 0.6494 GB, free: 2.523 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.1367, allocations: 8.031 kB / 0.6494 GB, free: 2.516 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/0.1368, allocations: 118.7 kB / 0.6495 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.1382, allocations: 235.6 kB / 0.6498 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007681/0.139, allocations: 0.5998 MB / 0.6504 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.139, allocations: 49.67 kB / 0.6504 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.184e-05/0.1391, allocations: 68.36 kB / 0.6505 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.1404, allocations: 1.093 MB / 0.6515 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.1404, allocations: 7.938 kB / 0.6515 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.1405, allocations: 31.98 kB / 0.6516 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/0.1406, allocations: 85.25 kB / 0.6517 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.1417, allocations: 0.7543 MB / 0.6524 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004479/0.1462, allocations: 5.878 MB / 0.6581 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009152/0.1471, allocations: 0.5516 MB / 0.6587 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003951/0.1475, allocations: 330 kB / 0.659 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.1475, allocations: 4.438 kB / 0.659 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.1476, allocations: 39 kB / 0.659 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 2.815e-06/0.1476, allocations: 0 / 0.659 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.003356/0.1509, allocations: 1.986 MB / 0.661 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.151, allocations: 55.84 kB / 0.661 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005302/0.1515, allocations: 0.5626 MB / 0.6616 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.1516, allocations: 37.7 kB / 0.6616 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.1518, allocations: 415 kB / 0.662 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.1519, allocations: 177.5 kB / 0.6622 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.1521, allocations: 122.5 kB / 0.6623 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1522, allocations: 378.7 kB / 0.6626 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.1526, allocations: 273.8 kB / 0.6629 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004827/0.1531, allocations: 497 kB / 0.6634 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008958/0.154, allocations: 0.8132 MB / 0.6642 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.154, allocations: 4 kB / 0.6642 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001616/0.1556, allocations: 1.091 MB / 0.6652 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1556, allocations: 8.125 kB / 0.6652 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.1557, allocations: 15.94 kB / 0.6653 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007732/0.1564, allocations: 283.1 kB / 0.6655 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/0.1569, allocations: 127.8 kB / 0.6657 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00578/0.1627, allocations: 7.126 MB / 0.6726 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/0.1631, allocations: 39.95 kB / 0.6727 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/0.1632, allocations: 28 kB / 0.6727 GB, free: 9.156 MB / 0.5137 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.0002735/0.1634, allocations: 257.5 kB / 0.6729 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.16e-05/0.1635, allocations: 71.16 kB / 0.673 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.1649, allocations: 0.8926 MB / 0.6739 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1649, allocations: 4 kB / 0.6739 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.165, allocations: 4 kB / 0.6739 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.165, allocations: 3.984 kB / 0.6739 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.1672, allocations: 1.717 MB / 0.6756 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.1673, allocations: 11.95 kB / 0.6756 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.1675, allocations: 59.89 kB / 0.6756 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006837/0.1682, allocations: 279.2 kB / 0.6759 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.1682, allocations: 8 kB / 0.6759 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005653/0.1739, allocations: 7.119 MB / 0.6828 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/0.1739, allocations: 3.938 kB / 0.6829 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.1753, allocations: 0.9835 MB / 0.6838 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.1755, allocations: 192.2 kB / 0.684 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.617e-05/0.1756, allocations: 11.94 kB / 0.684 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.1759, allocations: 31.95 kB / 0.684 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.611e-05/0.176, allocations: 51.83 kB / 0.6841 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.1761, allocations: 12 kB / 0.6841 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003853/0.1765, allocations: 387.1 kB / 0.6845 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1765, allocations: 0 / 0.6845 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006867/0.1772, allocations: 224 kB / 0.6847 GB, free: 12.11 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.001616/0.1788, allocations: 1.548 MB / 0.6862 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001724/0.1805, allocations: 1.271 MB / 0.6874 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1805, allocations: 0 / 0.6874 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.1816, allocations: 0.8932 MB / 0.6883 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008877/0.1825, allocations: 213.4 kB / 0.6885 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007435/0.19, allocations: 6.396 MB / 0.6948 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/0.1905, allocations: 1.013 MB / 0.6957 GB, free: 268 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003233/0.1909, allocations: 122 kB / 0.6959 GB, free: 144 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003076/0.1912, allocations: 255.4 kB / 0.6961 GB, free: 15.89 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.1912, allocations: 0 / 0.6961 GB, free: 15.89 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04473/0.2359, allocations: 17.48 MB / 0.7132 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.544/9.78, allocations: 5.656 kB / 0.7132 GB, free: 14.69 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)