Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008742/0.0008743, allocations: 88.83 kB / 16.67 MB, free: 6.59 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.001014/0.001014, allocations: 179.9 kB / 17.58 MB, free: 6.188 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.403/1.403, allocations: 223.3 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7389/0.7389, allocations: 115.5 MB / 408.2 MB, free: 7.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003512, allocations: 12 kB / 496.5 MB, free: 15.63 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.4273, allocations: 77.51 MB / 0.5606 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03876/0.4661, allocations: 36.35 MB / 0.5961 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0237/0.4899, allocations: 12.91 MB / 0.6087 GB, free: 1.211 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006115/0.4961, allocations: 145.5 kB / 0.6088 GB, free: 1.156 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00375/0.4999, allocations: 0.7593 MB / 0.6096 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009256/0.5091, allocations: 2.349 MB / 0.6119 GB, free: 14.6 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007856/0.517, allocations: 2.313 MB / 0.6141 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02006/0.5371, allocations: 13.36 MB / 0.6272 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02546/0.5626, allocations: 13.21 MB / 0.6401 GB, free: 1.762 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007146/0.5698, allocations: 2.941 MB / 0.6429 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007944/0.5778, allocations: 3.865 MB / 0.6467 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002073/0.5799, allocations: 320 kB / 0.647 GB, free: 10.62 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005616/0.5856, allocations: 1.634 MB / 0.6486 GB, free: 8.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005096/0.5907, allocations: 2.466 MB / 0.651 GB, free: 6.508 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00809/0.5988, allocations: 2.952 MB / 0.6539 GB, free: 3.535 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01295/0.6118, allocations: 9.775 MB / 0.6635 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.6119, allocations: 0 / 0.6635 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.759e-06/0.6119, allocations: 0 / 0.6635 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004331/0.6123, allocations: 3.938 kB / 0.6635 GB, free: 9.73 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.015/0.6273, allocations: 5.134 MB / 0.6685 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.6274, allocations: 11.97 kB / 0.6685 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009799/0.6372, allocations: 1.309 MB / 0.6698 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00921/0.6465, allocations: 3.568 MB / 0.6733 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004381/0.6469, allocations: 382.4 kB / 0.6736 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001966/0.6489, allocations: 0.5001 MB / 0.6741 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02195/0.6709, allocations: 8.882 MB / 0.6828 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003012/0.6712, allocations: 31.77 kB / 0.6828 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001738/0.673, allocations: 223.9 kB / 0.683 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002432/0.6754, allocations: 0.6265 MB / 0.6836 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01599/0.6914, allocations: 7.01 MB / 0.6905 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05936/0.7509, allocations: 40.43 MB / 0.73 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004871/0.7558, allocations: 2.898 MB / 0.7328 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004352/0.7602, allocations: 2.667 MB / 0.7354 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003291/0.7605, allocations: 26.09 kB / 0.7354 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.008e-05/0.7606, allocations: 72.53 kB / 0.7355 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=265): time 7.464e-06/0.7606, allocations: 0 / 0.7355 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=424): time 0.6452/1.406, allocations: 77.48 MB / 0.8112 GB, free: 118.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/1.406, allocations: 94.73 kB / 0.8113 GB, free: 118.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003516/1.41, allocations: 2.359 MB / 0.8136 GB, free: 116.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009218/1.41, allocations: 93.7 kB / 0.8136 GB, free: 116 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001152/1.412, allocations: 2.34 MB / 0.8159 GB, free: 113.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001896/1.414, allocations: 1.442 MB / 0.8173 GB, free: 112.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000932/1.414, allocations: 347 kB / 0.8177 GB, free: 111.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.674e-05/1.415, allocations: 301.1 kB / 0.818 GB, free: 111.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004228/1.419, allocations: 2.999 MB / 0.8209 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004548/1.423, allocations: 3.847 MB / 0.8246 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009572/1.433, allocations: 7.39 MB / 0.8319 GB, free: 96.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.067e-05/1.433, allocations: 4 kB / 0.8319 GB, free: 96.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02832/1.461, allocations: 12.55 MB / 0.8441 GB, free: 83.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/1.461, allocations: 13.88 kB / 0.8441 GB, free: 83.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.846e-05/1.461, allocations: 24 kB / 0.8442 GB, free: 83.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02234/1.484, allocations: 6.025 MB / 0.85 GB, free: 77.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002245/1.486, allocations: 495.7 kB / 0.8505 GB, free: 77.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06935/1.555, allocations: 67.29 MB / 0.9162 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004487/1.56, allocations: 211.8 kB / 0.9164 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/1.561, allocations: 152.1 kB / 0.9166 GB, free: 6.598 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004534/1.566, allocations: 1.992 MB / 0.9185 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001367/1.567, allocations: 395.4 kB / 0.9189 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03149/1.598, allocations: 12.24 MB / 0.9308 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.712e-05/1.599, allocations: 43.94 kB / 0.9309 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001879/1.599, allocations: 48 kB / 0.9309 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00011/1.599, allocations: 19.92 kB / 0.9309 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04742/1.646, allocations: 19.17 MB / 0.9497 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-05/1.646, allocations: 13.67 kB / 0.9497 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/1.648, allocations: 283.6 kB / 0.95 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02251/1.671, allocations: 5.574 MB / 0.9554 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008741/1.671, allocations: 80 kB / 0.9555 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3886/2.06, allocations: 64.92 MB / 1.019 GB, free: 171.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.298e-05/2.06, allocations: 7.344 kB / 1.019 GB, free: 171.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0364/2.097, allocations: 15.62 MB / 1.034 GB, free: 165.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002943/2.1, allocations: 1.048 MB / 1.035 GB, free: 164.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00147/2.101, allocations: 88.16 kB / 1.035 GB, free: 164.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003619/2.105, allocations: 212.7 kB / 1.035 GB, free: 164.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00194/2.107, allocations: 401.6 kB / 1.036 GB, free: 164.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006567/2.107, allocations: 111.5 kB / 1.036 GB, free: 164.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002767/2.11, allocations: 1.558 MB / 1.037 GB, free: 164 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/2.11, allocations: 0 / 1.037 GB, free: 164 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00778/2.118, allocations: 1.859 MB / 1.039 GB, free: 163.8 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009482/2.119, allocations: 222.6 kB / 1.039 GB, free: 163.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01997/2.139, allocations: 12.19 MB / 1.051 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/2.139, allocations: 5.625 kB / 1.051 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01469/2.154, allocations: 8.382 MB / 1.06 GB, free: 152.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01006/2.164, allocations: 1.101 MB / 1.061 GB, free: 151.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02323/2.187, allocations: 15.6 MB / 1.076 GB, free: 138.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006013/2.193, allocations: 4.16 MB / 1.08 GB, free: 135.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/2.194, allocations: 195.1 kB / 1.08 GB, free: 135.1 MB / 0.6387 GB Notification: Performance of SimCode: time 1.733e-06/2.194, allocations: 0 / 1.08 GB, free: 135.1 MB / 0.6387 GB Notification: Performance of Templates: time 1.531/3.726, allocations: 0.743 GB / 1.823 GB, free: 163.4 MB / 0.6856 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)