Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.822/1.822, allocations: 287.5 MB / 302.6 MB, free: 8.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001585/0.001585, allocations: 176.6 kB / 371.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.4 MB / 0.6299 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007667/0.0007664, allocations: 82.38 kB / 0.7432 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.0003857, allocations: 16.48 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2097, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.007436/0.2171, allocations: 9.07 MB / 0.9875 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004274/0.2214, allocations: 3.059 MB / 0.9905 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.2225, allocations: 23.88 kB / 0.9906 GB, free: 16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007156/0.2232, allocations: 182.6 kB / 0.9907 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.2248, allocations: 0.6184 MB / 0.9913 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.2262, allocations: 0.5269 MB / 0.9918 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002762/0.2289, allocations: 3.51 MB / 0.9953 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003807/0.2328, allocations: 3.115 MB / 0.9983 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.2343, allocations: 0.9575 MB / 0.9993 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001954/0.2362, allocations: 1.433 MB / 1.001 GB, free: 5.586 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004915/0.2367, allocations: 116 kB / 1.001 GB, free: 5.473 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.2378, allocations: 259.8 kB / 1.001 GB, free: 5.219 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.2389, allocations: 0.9158 MB / 1.002 GB, free: 4.301 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0007684/0.2397, allocations: 380.8 kB / 1.002 GB, free: 3.922 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.2424, allocations: 3.004 MB / 1.005 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2424, allocations: 0 / 1.005 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2424, allocations: 0 / 1.005 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001184/0.2425, allocations: 4 kB / 1.005 GB, free: 0.9062 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.00421/0.2468, allocations: 1.756 MB / 1.007 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.2468, allocations: 12.03 kB / 1.007 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008589/0.2554, allocations: 1.321 MB / 1.008 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/0.258, allocations: 1.259 MB / 1.009 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-05/0.2581, allocations: 111.4 kB / 1.01 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003649/0.2585, allocations: 144.3 kB / 1.01 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00526/0.2638, allocations: 3.421 MB / 1.013 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.623e-05/0.2638, allocations: 3.938 kB / 1.013 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/0.264, allocations: 67.95 kB / 1.013 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002384/0.2643, allocations: 207.1 kB / 1.013 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004667/0.2689, allocations: 3.116 MB / 1.016 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0166/0.2856, allocations: 13.59 MB / 1.03 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/0.2882, allocations: 1.727 MB / 1.031 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001888/0.2901, allocations: 1.425 MB / 1.033 GB, free: 3.66 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.827e-05/0.2902, allocations: 16.98 kB / 1.033 GB, free: 3.645 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.2902, allocations: 43.56 kB / 1.033 GB, free: 3.594 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 2.725e-06/0.2902, allocations: 0 / 1.033 GB, free: 3.594 MB / 0.6511 GB Notification: Performance of matching and sorting (n=183): time 0.59/0.8802, allocations: 35.93 MB / 1.068 GB, free: 83.97 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.8803, allocations: 71.8 kB / 1.068 GB, free: 83.91 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.8821, allocations: 1.045 MB / 1.069 GB, free: 83.76 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003274/0.8825, allocations: 55.39 kB / 1.069 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005063/0.883, allocations: 0.788 MB / 1.07 GB, free: 83.58 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005726/0.8835, allocations: 0.6237 MB / 1.07 GB, free: 83.11 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.8837, allocations: 38.75 kB / 1.07 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.8838, allocations: 387.5 kB / 1.071 GB, free: 82.75 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00293/0.8868, allocations: 1.922 MB / 1.073 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00312/0.8899, allocations: 2.277 MB / 1.075 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006277/0.8962, allocations: 4.382 MB / 1.079 GB, free: 79.15 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/0.8962, allocations: 2.812 kB / 1.079 GB, free: 79.15 MB / 0.6823 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02161/0.9178, allocations: 9.003 MB / 1.088 GB, free: 76.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.203e-05/0.918, allocations: 9.25 kB / 1.088 GB, free: 76.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-05/0.918, allocations: 9.531 kB / 1.088 GB, free: 76.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01694/0.9349, allocations: 4.972 MB / 1.093 GB, free: 75.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009163/0.9359, allocations: 196.3 kB / 1.093 GB, free: 75.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04855/0.9845, allocations: 35.07 MB / 1.127 GB, free: 54.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.9864, allocations: 102.5 kB / 1.127 GB, free: 54.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/0.9866, allocations: 67.12 kB / 1.127 GB, free: 54.78 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001169/0.9878, allocations: 0.8138 MB / 1.128 GB, free: 54.26 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/0.9881, allocations: 141.3 kB / 1.128 GB, free: 54.18 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01662/1.005, allocations: 8.873 MB / 1.137 GB, free: 45.75 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.456e-05/1.005, allocations: 20 kB / 1.137 GB, free: 45.73 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.461e-05/1.005, allocations: 28 kB / 1.137 GB, free: 45.71 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.651e-05/1.005, allocations: 7.969 kB / 1.137 GB, free: 45.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02271/1.028, allocations: 13.26 MB / 1.15 GB, free: 32.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.754e-05/1.028, allocations: 4.406 kB / 1.15 GB, free: 32.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004974/1.028, allocations: 130.4 kB / 1.15 GB, free: 32.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01448/1.043, allocations: 4.758 MB / 1.155 GB, free: 27.43 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003347/1.043, allocations: 36 kB / 1.155 GB, free: 27.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04076/1.084, allocations: 31.39 MB / 1.185 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.084, allocations: 7.938 kB / 1.185 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01883/1.103, allocations: 8.386 MB / 1.194 GB, free: 2.996 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/1.104, allocations: 0.6164 MB / 1.194 GB, free: 2.359 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003297/1.105, allocations: 35.98 kB / 1.194 GB, free: 2.324 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/1.106, allocations: 93.95 kB / 1.194 GB, free: 2.234 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000726/1.107, allocations: 165.6 kB / 1.195 GB, free: 2.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/1.107, allocations: 48 kB / 1.195 GB, free: 2.023 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009944/1.108, allocations: 0.7304 MB / 1.195 GB, free: 1.281 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/1.108, allocations: 0 / 1.195 GB, free: 1.281 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003366/1.111, allocations: 0.9961 MB / 1.196 GB, free: 292 kB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,80.1%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002811/1.111, allocations: 147.1 kB / 1.196 GB, free: 136 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01022/1.122, allocations: 5.823 MB / 1.202 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.122, allocations: 0 / 1.202 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00758/1.129, allocations: 3.794 MB / 1.206 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/1.131, allocations: 226.3 kB / 1.206 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008175/1.139, allocations: 5.62 MB / 1.212 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001812/1.141, allocations: 1.861 MB / 1.213 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0009774/1.142, allocations: 347.4 kB / 1.214 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/1.142, allocations: 59.44 kB / 1.214 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of SimCode: time 1.724e-06/1.142, allocations: 0 / 1.214 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of Templates: time 0.08176/1.224, allocations: 54.36 MB / 1.267 GB, free: 7.988 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)