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.001521/0.001521, allocations: 104.3 kB / 16.4 MB, free: 6.5 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.001062/0.001062, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7237/0.7237, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.27 kB / 0.5572 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1326, allocations: 76.19 MB / 0.6316 GB, free: 4.895 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008601/0.1413, allocations: 6.781 MB / 0.6382 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004812/0.1461, allocations: 3.067 MB / 0.6412 GB, free: 11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004529/0.1466, allocations: 27.81 kB / 0.6412 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.1491, allocations: 0.9492 MB / 0.6422 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.1501, allocations: 0.4972 MB / 0.6427 GB, free: 9.523 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009478/0.1511, allocations: 453.3 kB / 0.6431 GB, free: 9.082 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.1523, allocations: 1.236 MB / 0.6443 GB, free: 7.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008144/0.1531, allocations: 0.6571 MB / 0.6449 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004962/0.1536, allocations: 482.2 kB / 0.6454 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006003/0.1542, allocations: 0.5176 MB / 0.6459 GB, free: 6.188 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.818e-05/0.1543, allocations: 64 kB / 0.646 GB, free: 6.125 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005938/0.1549, allocations: 379.3 kB / 0.6463 GB, free: 5.754 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.1552, allocations: 307.2 kB / 0.6466 GB, free: 5.453 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000385/0.1556, allocations: 461.7 kB / 0.6471 GB, free: 5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.1568, allocations: 1.212 MB / 0.6482 GB, free: 3.785 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1568, allocations: 0 / 0.6482 GB, free: 3.785 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1568, allocations: 3.938 kB / 0.6482 GB, free: 3.781 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.1568, allocations: 0 / 0.6482 GB, free: 3.781 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.001778/0.1586, allocations: 1.176 MB / 0.6494 GB, free: 2.551 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1586, allocations: 8.031 kB / 0.6494 GB, free: 2.543 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000129/0.1588, allocations: 122.7 kB / 0.6495 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/0.1603, allocations: 239.6 kB / 0.6497 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.1613, allocations: 0.6037 MB / 0.6503 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/0.1614, allocations: 49.67 kB / 0.6504 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.1615, allocations: 56.38 kB / 0.6504 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.1629, allocations: 1.093 MB / 0.6515 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.163, allocations: 7.938 kB / 0.6515 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.327e-05/0.163, allocations: 31.98 kB / 0.6515 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001531/0.1632, allocations: 93.23 kB / 0.6516 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.1644, allocations: 0.7504 MB / 0.6524 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005223/0.1696, allocations: 5.878 MB / 0.6581 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009289/0.1706, allocations: 0.5561 MB / 0.6586 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004093/0.171, allocations: 328.9 kB / 0.659 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.171, allocations: 4.438 kB / 0.659 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.1711, allocations: 43 kB / 0.659 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 2.094e-06/0.1711, allocations: 0 / 0.659 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.00433/0.1754, allocations: 1.982 MB / 0.6609 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.1755, allocations: 55.84 kB / 0.661 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000742/0.1763, allocations: 0.5626 MB / 0.6615 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.1763, allocations: 37.7 kB / 0.6616 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.1766, allocations: 415 kB / 0.662 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.1767, allocations: 181.5 kB / 0.6621 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.1769, allocations: 126.5 kB / 0.6623 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.177, allocations: 374.7 kB / 0.6626 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/0.1774, allocations: 273.8 kB / 0.6629 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004969/0.1779, allocations: 0.4892 MB / 0.6634 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.179, allocations: 0.8094 MB / 0.6642 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.179, allocations: 0 / 0.6642 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001902/0.1809, allocations: 1.095 MB / 0.6652 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.1809, allocations: 8 kB / 0.6652 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.1809, allocations: 8 kB / 0.6652 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008373/0.1818, allocations: 279.4 kB / 0.6655 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/0.1823, allocations: 123.8 kB / 0.6656 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006183/0.1885, allocations: 7.138 MB / 0.6726 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006045/0.1891, allocations: 39.95 kB / 0.6726 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/0.1892, allocations: 28 kB / 0.6727 GB, free: 9.18 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.0003261/0.1895, allocations: 257.6 kB / 0.6729 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.1896, allocations: 71.16 kB / 0.673 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.1911, allocations: 0.8887 MB / 0.6738 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1911, allocations: 4 kB / 0.6738 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1911, allocations: 4 kB / 0.6738 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1911, allocations: 7.984 kB / 0.6739 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/0.1936, allocations: 1.72 MB / 0.6755 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.1936, allocations: 7.922 kB / 0.6755 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.1939, allocations: 63.89 kB / 0.6756 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007307/0.1947, allocations: 263.4 kB / 0.6759 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/0.1947, allocations: 12 kB / 0.6759 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006408/0.2011, allocations: 7.126 MB / 0.6828 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.2012, allocations: 4.031 kB / 0.6828 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.2027, allocations: 0.9834 MB / 0.6838 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003617/0.2031, allocations: 192.2 kB / 0.684 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.676e-05/0.2032, allocations: 15.94 kB / 0.684 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003921/0.2036, allocations: 27.95 kB / 0.684 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.2037, allocations: 43.89 kB / 0.6841 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.2037, allocations: 16 kB / 0.6841 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004515/0.2042, allocations: 391 kB / 0.6844 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2042, allocations: 0 / 0.6844 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007827/0.205, allocations: 228 kB / 0.6847 GB, free: 12.13 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.001668/0.2067, allocations: 1.548 MB / 0.6862 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001909/0.2086, allocations: 1.271 MB / 0.6874 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2086, allocations: 0 / 0.6874 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.2098, allocations: 0.8855 MB / 0.6883 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.2109, allocations: 209.1 kB / 0.6885 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008777/0.2197, allocations: 6.403 MB / 0.6947 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006225/0.2204, allocations: 1.013 MB / 0.6957 GB, free: 292 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000401/0.2208, allocations: 118 kB / 0.6958 GB, free: 172 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003169/0.2211, allocations: 255.3 kB / 0.6961 GB, free: 15.92 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/0.2211, allocations: 0 / 0.6961 GB, free: 15.92 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07342/0.2946, allocations: 17.8 MB / 0.7135 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.34, allocations: 0 / 0.7135 GB, free: 14.41 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)