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: translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 175.8 kB / 16.57 MB, free: 6.52 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.481/1.481, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7301/0.7301, allocations: 113.8 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003418, allocations: 8 kB / 493.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1921, allocations: 77.15 MB / 0.5568 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006828/0.1989, allocations: 5.762 MB / 0.5625 GB, free: 5.797 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005185/0.2042, allocations: 2.906 MB / 0.5653 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006979/0.2049, allocations: 23.81 kB / 0.5653 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003817/0.2053, allocations: 123.2 kB / 0.5655 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.2066, allocations: 418.6 kB / 0.5659 GB, free: 2.328 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.2076, allocations: 342.7 kB / 0.5662 GB, free: 1.996 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.209, allocations: 0.7467 MB / 0.5669 GB, free: 1.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002006/0.211, allocations: 0.9249 MB / 0.5678 GB, free: 308 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006816/0.2117, allocations: 354.7 kB / 0.5681 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005999/0.2123, allocations: 398.5 kB / 0.5685 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.024e-05/0.2123, allocations: 35.94 kB / 0.5686 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004566/0.2128, allocations: 147.8 kB / 0.5687 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002613/0.2131, allocations: 247.3 kB / 0.5689 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.2133, allocations: 177.3 kB / 0.5691 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008928/0.2142, allocations: 0.8728 MB / 0.57 GB, free: 14.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2142, allocations: 0 / 0.57 GB, free: 14.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2142, allocations: 0 / 0.57 GB, free: 14.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.2142, allocations: 4 kB / 0.57 GB, free: 14.08 MB / 446.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.001955/0.2162, allocations: 1.007 MB / 0.5709 GB, free: 13.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.2162, allocations: 8.031 kB / 0.571 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/0.2177, allocations: 222.7 kB / 0.5712 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.2188, allocations: 0.5365 MB / 0.5717 GB, free: 12.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.709e-05/0.2189, allocations: 49.3 kB / 0.5717 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.2191, allocations: 60 kB / 0.5718 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.2208, allocations: 1.077 MB / 0.5728 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.2209, allocations: 7.891 kB / 0.5729 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.807e-05/0.221, allocations: 32 kB / 0.5729 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001622/0.2211, allocations: 85.25 kB / 0.573 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.2227, allocations: 0.7465 MB / 0.5737 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007108/0.2298, allocations: 5.905 MB / 0.5795 GB, free: 3.727 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.2309, allocations: 0.5476 MB / 0.58 GB, free: 3.164 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.2309, allocations: 4.438 kB / 0.58 GB, free: 3.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.231, allocations: 43 kB / 0.58 GB, free: 3.109 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 3.146e-06/0.231, allocations: 0 / 0.58 GB, free: 3.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.004347/0.2353, allocations: 1.98 MB / 0.582 GB, free: 1.039 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.2354, allocations: 55.84 kB / 0.582 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006827/0.2361, allocations: 0.5664 MB / 0.5826 GB, free: 408 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.2362, allocations: 33.7 kB / 0.5826 GB, free: 368 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.3638/0.6, allocations: 410.4 kB / 0.583 GB, free: 33.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003158/0.6004, allocations: 174.9 kB / 0.5832 GB, free: 33.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.877e-05/0.6004, allocations: 10.72 kB / 0.5832 GB, free: 33.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.6006, allocations: 377.9 kB / 0.5835 GB, free: 33.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005816/0.6012, allocations: 271 kB / 0.5838 GB, free: 33.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007435/0.602, allocations: 489 kB / 0.5843 GB, free: 32.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006601/0.6026, allocations: 346.2 kB / 0.5846 GB, free: 32.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.6026, allocations: 2.656 kB / 0.5846 GB, free: 32.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002121/0.6048, allocations: 1.08 MB / 0.5857 GB, free: 32.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.6048, allocations: 9.781 kB / 0.5857 GB, free: 32.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.6048, allocations: 9.484 kB / 0.5857 GB, free: 32.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009628/0.6058, allocations: 280.6 kB / 0.5859 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/0.6063, allocations: 124.2 kB / 0.5861 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006083/0.6124, allocations: 6.705 MB / 0.5926 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006759/0.6131, allocations: 39.47 kB / 0.5926 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.163e-05/0.6132, allocations: 34.86 kB / 0.5927 GB, free: 26.7 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004457/0.6137, allocations: 248 kB / 0.5929 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.6138, allocations: 76.7 kB / 0.593 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.6155, allocations: 0.882 MB / 0.5938 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.689e-06/0.6156, allocations: 4.688 kB / 0.5939 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.6156, allocations: 4.531 kB / 0.5939 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.6156, allocations: 6.906 kB / 0.5939 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00317/0.6188, allocations: 1.728 MB / 0.5956 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.6188, allocations: 2.797 kB / 0.5956 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.6191, allocations: 59.78 kB / 0.5956 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000872/0.62, allocations: 266.3 kB / 0.5959 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/0.62, allocations: 7.812 kB / 0.5959 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006226/0.6262, allocations: 6.691 MB / 0.6024 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.6263, allocations: 2.062 kB / 0.6024 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.6283, allocations: 1.046 MB / 0.6034 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003589/0.6287, allocations: 199.5 kB / 0.6036 GB, free: 18.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.06e-05/0.6288, allocations: 12.97 kB / 0.6036 GB, free: 18.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/0.6291, allocations: 25.19 kB / 0.6037 GB, free: 18.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.6293, allocations: 45.91 kB / 0.6037 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-05/0.6293, allocations: 15.98 kB / 0.6037 GB, free: 18.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005541/0.6299, allocations: 382.8 kB / 0.6041 GB, free: 18.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.202e-06/0.6299, allocations: 0 / 0.6041 GB, free: 18.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001095/0.631, allocations: 224.6 kB / 0.6043 GB, free: 18.34 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001644/0.6312, allocations: 118.8 kB / 0.6044 GB, free: 18.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002544/0.6337, allocations: 1.267 MB / 0.6056 GB, free: 17.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6337, allocations: 0.5 kB / 0.6056 GB, free: 17.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.635, allocations: 0.9003 MB / 0.6065 GB, free: 16.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008908/0.6359, allocations: 200.3 kB / 0.6067 GB, free: 16.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.6381, allocations: 1.594 MB / 0.6083 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006276/0.6387, allocations: 1.026 MB / 0.6093 GB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004819/0.6392, allocations: 122.4 kB / 0.6094 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.6393, allocations: 41.59 kB / 0.6094 GB, free: 15.11 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6393, allocations: 0 / 0.6094 GB, free: 15.11 MB / 446.1 MB Notification: Performance of Templates: time 0.02091/0.6603, allocations: 10.28 MB / 0.6195 GB, free: 11.39 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (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 & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)