Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002328/0.002328, allocations: 191.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.687/1.687, allocations: 292.2 MB / 0.5485 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 64.97 kB / 0.671 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3045, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04209/0.3467, allocations: 40.75 MB / 0.8227 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02956/0.3763, allocations: 14.96 MB / 0.8373 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007084/0.3834, allocations: 171.1 kB / 0.8374 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01239/0.3958, allocations: 4.166 MB / 0.8415 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01036/0.4062, allocations: 2.59 MB / 0.844 GB, free: 15.07 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01147/0.4177, allocations: 2.876 MB / 0.8468 GB, free: 12.2 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02218/0.4399, allocations: 11.45 MB / 0.858 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0284/0.4684, allocations: 14.85 MB / 0.8725 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01126/0.4797, allocations: 4.898 MB / 0.8773 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01131/0.491, allocations: 5.635 MB / 0.8828 GB, free: 7.164 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.004748/0.4958, allocations: 0.9492 MB / 0.8837 GB, free: 6.215 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008954/0.5048, allocations: 2.04 MB / 0.8857 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.008308/0.5131, allocations: 3.695 MB / 0.8893 GB, free: 480 kB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.01247/0.5257, allocations: 4.295 MB / 0.8935 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02321/0.5489, allocations: 14.29 MB / 0.9075 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.372e-05/0.549, allocations: 7.922 kB / 0.9075 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.745e-06/0.549, allocations: 0 / 0.9075 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0007362/0.5497, allocations: 0 / 0.9075 GB, free: 13.81 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02767/0.5774, allocations: 7.589 MB / 0.9149 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.5775, allocations: 12.03 kB / 0.9149 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01216/0.5897, allocations: 1.518 MB / 0.9164 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/0.6012, allocations: 4.209 MB / 0.9205 GB, free: 324 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.5283/1.13, allocations: 460 kB / 0.921 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002875/1.132, allocations: 0.5901 MB / 0.9215 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02489/1.157, allocations: 10.68 MB / 0.932 GB, free: 118.8 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001922/1.158, allocations: 32.69 kB / 0.932 GB, free: 118.8 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009674/1.159, allocations: 261.5 kB / 0.9322 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002843/1.161, allocations: 0.776 MB / 0.933 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02067/1.182, allocations: 8.557 MB / 0.9414 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06296/1.245, allocations: 46.86 MB / 0.9871 GB, free: 76.08 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006098/1.251, allocations: 4.31 MB / 0.9913 GB, free: 73.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004872/1.256, allocations: 3.694 MB / 0.9949 GB, free: 71.36 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004089/1.257, allocations: 42.78 kB / 0.995 GB, free: 71.31 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/1.257, allocations: 73.34 kB / 0.995 GB, free: 71.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=353): time 5.901e-06/1.257, allocations: 0 / 0.995 GB, free: 71.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=578): time 0.4787/1.735, allocations: 122.8 MB / 1.115 GB, free: 11.68 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/1.736, allocations: 107.9 kB / 1.115 GB, free: 11.56 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005109/1.741, allocations: 2.681 MB / 1.118 GB, free: 8.879 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001294/1.742, allocations: 125.5 kB / 1.118 GB, free: 8.754 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002034/1.744, allocations: 2.682 MB / 1.12 GB, free: 6.051 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.002968/1.747, allocations: 1.949 MB / 1.122 GB, free: 4.117 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003834/1.751, allocations: 0.9248 MB / 1.123 GB, free: 3.184 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.751, allocations: 309.1 kB / 1.124 GB, free: 2.879 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01066/1.762, allocations: 4.079 MB / 1.128 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01211/1.774, allocations: 5.015 MB / 1.132 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02472/1.799, allocations: 9.851 MB / 1.142 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001022/1.799, allocations: 8 kB / 1.142 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.05966/1.858, allocations: 16.99 MB / 1.159 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.822e-05/1.859, allocations: 16 kB / 1.159 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.515e-05/1.859, allocations: 23.94 kB / 1.159 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03338/1.892, allocations: 9.153 MB / 1.168 GB, free: 4.871 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002723/1.895, allocations: 0.5187 MB / 1.168 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1247/2.02, allocations: 77.03 MB / 1.243 GB, free: 5.773 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006173/2.026, allocations: 275.8 kB / 1.244 GB, free: 5.504 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001619/2.027, allocations: 192 kB / 1.244 GB, free: 5.316 MB / 0.92 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007213/2.035, allocations: 2.426 MB / 1.246 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002231/2.037, allocations: 470.5 kB / 1.247 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04576/2.083, allocations: 16.83 MB / 1.263 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-05/2.083, allocations: 56 kB / 1.263 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003636/2.083, allocations: 72 kB / 1.263 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001951/2.083, allocations: 31.08 kB / 1.263 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.589/2.672, allocations: 25.65 MB / 1.288 GB, free: 312.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-05/2.672, allocations: 8.625 kB / 1.288 GB, free: 312.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/2.674, allocations: 319.2 kB / 1.289 GB, free: 312.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03071/2.705, allocations: 8.339 MB / 1.297 GB, free: 312.3 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001271/2.706, allocations: 108.5 kB / 1.297 GB, free: 312.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09559/2.802, allocations: 73.89 MB / 1.369 GB, free: 273.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.904e-06/2.802, allocations: 11.94 kB / 1.369 GB, free: 273.3 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03896/2.841, allocations: 21.57 MB / 1.39 GB, free: 252.1 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00398/2.845, allocations: 1.366 MB / 1.391 GB, free: 250.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001605/2.847, allocations: 104.7 kB / 1.391 GB, free: 250.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004478/2.851, allocations: 291.6 kB / 1.392 GB, free: 250.3 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002554/2.854, allocations: 0.5182 MB / 1.392 GB, free: 249.8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005821/2.854, allocations: 140 kB / 1.392 GB, free: 249.7 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003216/2.858, allocations: 1.776 MB / 1.394 GB, free: 247.9 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.7e-07/2.858, allocations: 0 / 1.394 GB, free: 247.9 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.01198/2.87, allocations: 2.465 MB / 1.397 GB, free: 245.4 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00136/2.871, allocations: 250 kB / 1.397 GB, free: 245.2 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.03817/2.909, allocations: 18.66 MB / 1.415 GB, free: 226.4 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.855e-05/2.909, allocations: 4 kB / 1.415 GB, free: 226.3 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.01932/2.929, allocations: 9.361 MB / 1.424 GB, free: 216.8 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01239/2.941, allocations: 1.373 MB / 1.425 GB, free: 215.5 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03851/2.98, allocations: 18.74 MB / 1.444 GB, free: 196.8 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009379/2.989, allocations: 4.893 MB / 1.449 GB, free: 191.8 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.004301/2.993, allocations: 0.7449 MB / 1.449 GB, free: 191.1 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/2.994, allocations: 199.4 kB / 1.449 GB, free: 190.9 MB / 0.9512 GB Notification: Performance of SimCode: time 1.903e-06/2.994, allocations: 0 / 1.449 GB, free: 190.9 MB / 0.9512 GB Notification: Performance of Templates: time 0.2346/3.229, allocations: 148.4 MB / 1.594 GB, free: 43.76 MB / 0.9512 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)