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.001258/0.001258, allocations: 93.66 kB / 16.02 MB, free: 84 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.00163/0.00163, allocations: 184.5 kB / 16.92 MB, free: 6.914 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.389/1.389, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7113/0.7113, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003414, allocations: 12 kB / 495.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1699, allocations: 77.54 MB / 0.56 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.316/0.4859, allocations: 36.34 MB / 0.5955 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02352/0.5095, allocations: 12.9 MB / 0.6081 GB, free: 8.781 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005116/0.5146, allocations: 144.9 kB / 0.6082 GB, free: 8.727 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002719/0.5174, allocations: 0.7635 MB / 0.609 GB, free: 8.277 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008203/0.5256, allocations: 2.349 MB / 0.6113 GB, free: 6.887 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007317/0.533, allocations: 2.293 MB / 0.6135 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01596/0.5489, allocations: 13.37 MB / 0.6265 GB, free: 14.89 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02375/0.5727, allocations: 13.22 MB / 0.6395 GB, free: 5.27 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00758/0.5803, allocations: 2.933 MB / 0.6423 GB, free: 2.324 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0082/0.5886, allocations: 3.869 MB / 0.6461 GB, free: 14.44 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002271/0.5909, allocations: 316 kB / 0.6464 GB, free: 14.13 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006374/0.5973, allocations: 1.634 MB / 0.648 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004702/0.602, allocations: 2.466 MB / 0.6504 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00696/0.609, allocations: 2.952 MB / 0.6533 GB, free: 7.051 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01615/0.6251, allocations: 11.3 MB / 0.6643 GB, free: 11.72 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.6252, allocations: 0 / 0.6643 GB, free: 11.72 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6252, allocations: 0 / 0.6643 GB, free: 11.72 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003356/0.6255, allocations: 0 / 0.6643 GB, free: 11.72 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01317/0.6387, allocations: 5.142 MB / 0.6693 GB, free: 6.504 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.6388, allocations: 8.031 kB / 0.6693 GB, free: 6.496 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009238/0.648, allocations: 1.301 MB / 0.6706 GB, free: 5.188 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008588/0.6566, allocations: 3.572 MB / 0.6741 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003576/0.657, allocations: 378.5 kB / 0.6745 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00176/0.6588, allocations: 0.4963 MB / 0.6749 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01844/0.6773, allocations: 8.886 MB / 0.6836 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001529/0.6775, allocations: 35.67 kB / 0.6837 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006617/0.6781, allocations: 216 kB / 0.6839 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002301/0.6804, allocations: 0.6265 MB / 0.6845 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01416/0.6946, allocations: 7.018 MB / 0.6913 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05834/0.753, allocations: 40.42 MB / 0.7308 GB, free: 3.867 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004808/0.7578, allocations: 2.898 MB / 0.7336 GB, free: 0.957 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004055/0.7619, allocations: 2.667 MB / 0.7362 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/0.7621, allocations: 34.03 kB / 0.7363 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.936e-05/0.7622, allocations: 64.59 kB / 0.7363 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=265): time 5.391e-06/0.7622, allocations: 0 / 0.7363 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=424): time 0.3243/1.087, allocations: 77.5 MB / 0.812 GB, free: 12 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/1.087, allocations: 94.73 kB / 0.8121 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004877/1.092, allocations: 2.355 MB / 0.8144 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001136/1.093, allocations: 93.7 kB / 0.8145 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001954/1.095, allocations: 2.337 MB / 0.8168 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002295/1.097, allocations: 1.436 MB / 0.8182 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000986/1.098, allocations: 347 kB / 0.8185 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001045/1.098, allocations: 309 kB / 0.8188 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005253/1.103, allocations: 2.999 MB / 0.8217 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005713/1.109, allocations: 3.843 MB / 0.8255 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3502/1.459, allocations: 7.382 MB / 0.8327 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.71e-05/1.459, allocations: 11.14 kB / 0.8327 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03755/1.497, allocations: 12.55 MB / 0.845 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.015e-05/1.497, allocations: 14.28 kB / 0.845 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.207e-05/1.497, allocations: 22.59 kB / 0.845 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02538/1.522, allocations: 6.03 MB / 0.8509 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002528/1.525, allocations: 499.5 kB / 0.8514 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06995/1.595, allocations: 67.29 MB / 0.9171 GB, free: 147.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004502/1.6, allocations: 215.9 kB / 0.9173 GB, free: 147.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007432/1.6, allocations: 164 kB / 0.9174 GB, free: 147.5 MB / 0.6387 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.003787/1.604, allocations: 1.986 MB / 0.9194 GB, free: 145.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008757/1.605, allocations: 399.4 kB / 0.9198 GB, free: 145.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02619/1.631, allocations: 12.22 MB / 0.9317 GB, free: 132.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-05/1.631, allocations: 40 kB / 0.9317 GB, free: 132.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001532/1.631, allocations: 52 kB / 0.9318 GB, free: 132.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.092e-05/1.632, allocations: 27.84 kB / 0.9318 GB, free: 132.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03612/1.668, allocations: 19.16 MB / 0.9505 GB, free: 113.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.8e-05/1.668, allocations: 9.688 kB / 0.9505 GB, free: 113.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/1.669, allocations: 283.6 kB / 0.9508 GB, free: 113.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02009/1.689, allocations: 5.577 MB / 0.9563 GB, free: 107.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007782/1.69, allocations: 80 kB / 0.9563 GB, free: 107.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06344/1.754, allocations: 64.92 MB / 1.02 GB, free: 39.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/1.754, allocations: 15.88 kB / 1.02 GB, free: 39.25 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02924/1.783, allocations: 15.61 MB / 1.035 GB, free: 23.43 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002487/1.785, allocations: 1.051 MB / 1.036 GB, free: 22.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008264/1.786, allocations: 83.98 kB / 1.036 GB, free: 22.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002702/1.789, allocations: 215.7 kB / 1.036 GB, free: 22.06 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001368/1.79, allocations: 410.1 kB / 1.037 GB, free: 21.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002683/1.791, allocations: 108 kB / 1.037 GB, free: 21.55 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001869/1.793, allocations: 1.556 MB / 1.038 GB, free: 20 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.21e-07/1.793, allocations: 0 / 1.038 GB, free: 20 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006919/1.799, allocations: 1.859 MB / 1.04 GB, free: 18.14 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.0006274/1.8, allocations: 218.8 kB / 1.04 GB, free: 17.91 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01825/1.818, allocations: 12.19 MB / 1.052 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/1.818, allocations: 0 / 1.052 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01415/1.833, allocations: 8.397 MB / 1.06 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008229/1.841, allocations: 1.106 MB / 1.062 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3663/2.207, allocations: 14.85 MB / 1.076 GB, free: 195.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00695/2.214, allocations: 4.089 MB / 1.08 GB, free: 194.4 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003041/2.217, allocations: 0.6653 MB / 1.081 GB, free: 194.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005663/2.218, allocations: 178.1 kB / 1.081 GB, free: 194.4 MB / 0.6544 GB Notification: Performance of SimCode: time 1.042e-06/2.218, allocations: 0 / 1.081 GB, free: 194.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.1708/2.389, allocations: 105.1 MB / 1.183 GB, free: 126.2 MB / 0.6544 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)