Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.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: translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.00104, allocations: 99.12 kB / 16.4 MB, free: 6.504 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.0009925/0.0009926, allocations: 196 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.274/1.274, 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.6724/0.6724, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 71.5 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1443, allocations: 76.18 MB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03382/0.1781, allocations: 32.58 MB / 0.6639 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01653/0.1947, allocations: 10.26 MB / 0.6739 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002839/0.1976, allocations: 151.2 kB / 0.6741 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.008643/0.2063, allocations: 3.718 MB / 0.6777 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004901/0.2112, allocations: 1.85 MB / 0.6795 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004887/0.2161, allocations: 2.142 MB / 0.6816 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009294/0.2254, allocations: 7.321 MB / 0.6888 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01274/0.2382, allocations: 9.415 MB / 0.698 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005085/0.2433, allocations: 3.225 MB / 0.7011 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005255/0.2486, allocations: 3.481 MB / 0.7045 GB, free: 9.938 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001129/0.2498, allocations: 0.6484 MB / 0.7051 GB, free: 9.289 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003309/0.2531, allocations: 1.767 MB / 0.7069 GB, free: 7.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002173/0.2553, allocations: 2.546 MB / 0.7093 GB, free: 4.969 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00309/0.2584, allocations: 2.898 MB / 0.7122 GB, free: 2.059 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009953/0.2683, allocations: 10.11 MB / 0.722 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2684, allocations: 0 / 0.722 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2684, allocations: 0 / 0.722 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002543/0.2686, allocations: 0 / 0.722 GB, free: 7.922 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.009407/0.2781, allocations: 5.014 MB / 0.7269 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2781, allocations: 8.031 kB / 0.727 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004927/0.283, allocations: 0.9512 MB / 0.7279 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004932/0.288, allocations: 3.042 MB / 0.7309 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/0.2882, allocations: 349.7 kB / 0.7312 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006872/0.2889, allocations: 472.2 kB / 0.7316 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01175/0.3007, allocations: 7.659 MB / 0.7391 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/0.3008, allocations: 31.77 kB / 0.7391 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004412/0.3013, allocations: 200 kB / 0.7393 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003117/0.3016, allocations: 316.9 kB / 0.7396 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.308/0.6095, allocations: 5.701 MB / 0.7452 GB, free: 97.18 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03105/0.6406, allocations: 34.83 MB / 0.7792 GB, free: 68.83 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/0.6432, allocations: 2.152 MB / 0.7813 GB, free: 67.37 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.6445, allocations: 1.272 MB / 0.7826 GB, free: 66.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.469e-05/0.6446, allocations: 13.84 kB / 0.7826 GB, free: 66.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.6446, allocations: 49.45 kB / 0.7826 GB, free: 66.63 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=133): time 3.196e-06/0.6446, allocations: 0 / 0.7826 GB, free: 66.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.01132/0.656, allocations: 7.083 MB / 0.7895 GB, free: 61.99 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.656, allocations: 64.53 kB / 0.7896 GB, free: 61.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.6577, allocations: 1.484 MB / 0.7911 GB, free: 61.08 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.433e-05/0.6577, allocations: 49.58 kB / 0.7911 GB, free: 61.03 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000695/0.6584, allocations: 2.011 MB / 0.7931 GB, free: 59.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.6587, allocations: 483.1 kB / 0.7935 GB, free: 58.86 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003837/0.6591, allocations: 352.9 kB / 0.7939 GB, free: 58.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.161e-05/0.6591, allocations: 302.7 kB / 0.7942 GB, free: 58.36 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009236/0.6601, allocations: 0.916 MB / 0.795 GB, free: 57.88 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.6612, allocations: 1.596 MB / 0.7966 GB, free: 56.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002496/0.6637, allocations: 2.732 MB / 0.7993 GB, free: 54.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.6637, allocations: 7.594 kB / 0.7993 GB, free: 54.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004825/0.6686, allocations: 3.529 MB / 0.8027 GB, free: 52.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.6686, allocations: 20.47 kB / 0.8027 GB, free: 52.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.6686, allocations: 25.75 kB / 0.8028 GB, free: 52.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002083/0.6707, allocations: 0.9006 MB / 0.8036 GB, free: 52.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009773/0.6717, allocations: 349.5 kB / 0.804 GB, free: 51.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01414/0.6859, allocations: 23.1 MB / 0.8265 GB, free: 27.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.6875, allocations: 105.8 kB / 0.8266 GB, free: 27.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.6876, allocations: 84 kB / 0.8267 GB, free: 27.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002137/0.6898, allocations: 1.61 MB / 0.8283 GB, free: 25.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/0.69, allocations: 205.6 kB / 0.8285 GB, free: 25.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004008/0.6941, allocations: 2.994 MB / 0.8314 GB, free: 22.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.6941, allocations: 19.94 kB / 0.8314 GB, free: 22.71 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.6941, allocations: 8 kB / 0.8314 GB, free: 22.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.6941, allocations: 3.984 kB / 0.8314 GB, free: 22.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008594/0.7027, allocations: 7.33 MB / 0.8386 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.7027, allocations: 4 kB / 0.8386 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006814/0.7034, allocations: 183.7 kB / 0.8388 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001862/0.7053, allocations: 0.8264 MB / 0.8396 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.589e-05/0.7054, allocations: 24 kB / 0.8396 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01475/0.7201, allocations: 21.95 MB / 0.861 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.7202, allocations: 7.938 kB / 0.8611 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004792/0.725, allocations: 3.025 MB / 0.864 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007835/0.7258, allocations: 462.5 kB / 0.8645 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/0.726, allocations: 31.91 kB / 0.8645 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007522/0.7268, allocations: 79.78 kB / 0.8646 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003175/0.7271, allocations: 128.7 kB / 0.8647 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.793e-05/0.7272, allocations: 39.38 kB / 0.8647 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001216/0.7284, allocations: 0.9756 MB / 0.8657 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7284, allocations: 0 / 0.8657 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00277/0.7312, allocations: 0.7852 MB / 0.8664 GB, free: 0.7969 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002452/0.7314, allocations: 143.6 kB / 0.8666 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005334/0.7368, allocations: 4.028 MB / 0.8705 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.7368, allocations: 0 / 0.8705 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003427/0.7402, allocations: 2.742 MB / 0.8732 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003039/0.7433, allocations: 0.7265 MB / 0.8739 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.7548, allocations: 7.09 MB / 0.8808 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002947/0.7578, allocations: 3.108 MB / 0.8839 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001301/0.7591, allocations: 462 kB / 0.8843 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.7594, allocations: 111.4 kB / 0.8844 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of SimCode: time 1.002e-06/0.7594, allocations: 0 / 0.8844 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of Templates: time 0.05747/0.8169, allocations: 36.23 MB / 0.9198 GB, free: 10.26 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)