Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001866/0.001866, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.607/1.607, allocations: 252 MB / 0.5102 GB, free: 4.777 MB / 414.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.001005/0.001005, allocations: 12 kB / 0.6243 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6278/0.6288, allocations: 106.3 MB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03337/0.6623, allocations: 30.2 MB / 0.7576 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02542/0.6877, allocations: 14.01 MB / 0.7713 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005118/0.6929, allocations: 131.2 kB / 0.7714 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003697/0.6967, allocations: 0.7053 MB / 0.7721 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01133/0.708, allocations: 2.401 MB / 0.7745 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007524/0.7156, allocations: 1.391 MB / 0.7758 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01593/0.7315, allocations: 9.73 MB / 0.7853 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02128/0.7529, allocations: 9.84 MB / 0.7949 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008654/0.7616, allocations: 2.934 MB / 0.7978 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008167/0.7698, allocations: 3.395 MB / 0.8011 GB, free: 436 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002144/0.772, allocations: 300 kB / 0.8014 GB, free: 136 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005285/0.7773, allocations: 0.8077 MB / 0.8022 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.005199/0.7825, allocations: 2.268 MB / 0.8044 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003926/0.7865, allocations: 1.128 MB / 0.8055 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01404/0.8006, allocations: 9.159 MB / 0.8145 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.8006, allocations: 0 / 0.8145 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.006e-06/0.8006, allocations: 0 / 0.8145 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0004651/0.8011, allocations: 0 / 0.8145 GB, free: 2.73 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01549/0.8166, allocations: 4.888 MB / 0.8192 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.8167, allocations: 8.031 kB / 0.8192 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00888/0.8256, allocations: 1.141 MB / 0.8204 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01072/0.8364, allocations: 3.239 MB / 0.8235 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004985/0.8369, allocations: 374 kB / 0.8239 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002888/0.8398, allocations: 499.9 kB / 0.8243 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02377/0.8636, allocations: 7.962 MB / 0.8321 GB, free: 200 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003695/0.8641, allocations: 23.83 kB / 0.8321 GB, free: 176 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002111/0.8662, allocations: 216 kB / 0.8324 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001224/0.8674, allocations: 437.6 kB / 0.8328 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01621/0.8837, allocations: 6.046 MB / 0.8387 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05791/0.9416, allocations: 35.2 MB / 0.873 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003453/0.9451, allocations: 2.015 MB / 0.875 GB, free: 1.074 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003044/0.9482, allocations: 1.85 MB / 0.8768 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/0.9484, allocations: 25.89 kB / 0.8768 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.497e-05/0.9485, allocations: 56.56 kB / 0.8769 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=171): time 3.747e-06/0.9485, allocations: 0 / 0.8769 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of matching and sorting (n=276): time 0.7488/1.697, allocations: 38.98 MB / 0.915 GB, free: 159.4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.265e-05/1.697, allocations: 80.64 kB / 0.915 GB, free: 159.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005432/1.703, allocations: 2.257 MB / 0.9172 GB, free: 158.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0007228/1.704, allocations: 78.33 kB / 0.9173 GB, free: 158.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00225/1.706, allocations: 2.268 MB / 0.9195 GB, free: 156.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001422/1.707, allocations: 0.9373 MB / 0.9204 GB, free: 155.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/1.708, allocations: 60.38 kB / 0.9205 GB, free: 155.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002377/1.708, allocations: 430.2 kB / 0.9209 GB, free: 155.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003144/1.711, allocations: 1.963 MB / 0.9228 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003092/1.714, allocations: 2.59 MB / 0.9254 GB, free: 153.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004085/1.718, allocations: 2.371 MB / 0.9277 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.439e-05/1.718, allocations: 3.906 kB / 0.9277 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01389/1.732, allocations: 7.717 MB / 0.9352 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/1.732, allocations: 11.16 kB / 0.9352 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/1.732, allocations: 21.42 kB / 0.9353 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007686/1.74, allocations: 3.207 MB / 0.9384 GB, free: 147.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/1.742, allocations: 405.9 kB / 0.9388 GB, free: 147.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03433/1.776, allocations: 31.09 MB / 0.9691 GB, free: 117.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003776/1.78, allocations: 167.8 kB / 0.9693 GB, free: 117.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003641/1.78, allocations: 108 kB / 0.9694 GB, free: 117.4 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004171/1.784, allocations: 1.797 MB / 0.9711 GB, free: 115.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001155/1.786, allocations: 328.2 kB / 0.9715 GB, free: 115.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01325/1.799, allocations: 7.332 MB / 0.9786 GB, free: 107.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.791e-05/1.799, allocations: 28 kB / 0.9786 GB, free: 107.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001312/1.799, allocations: 31.98 kB / 0.9787 GB, free: 107.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.609e-05/1.799, allocations: 11.95 kB / 0.9787 GB, free: 107.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02472/1.824, allocations: 12.9 MB / 0.9913 GB, free: 94.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.174e-05/1.824, allocations: 7.828 kB / 0.9913 GB, free: 94.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009657/1.825, allocations: 237.4 kB / 0.9915 GB, free: 94.54 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00736/1.832, allocations: 2.851 MB / 0.9943 GB, free: 91.67 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000415/1.833, allocations: 52 kB / 0.9944 GB, free: 91.62 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0362/1.869, allocations: 29.93 MB / 1.024 GB, free: 60.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/1.869, allocations: 8 kB / 1.024 GB, free: 60.89 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/1.881, allocations: 6.851 MB / 1.03 GB, free: 53.83 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002272/1.884, allocations: 0.7859 MB / 1.031 GB, free: 53.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/1.885, allocations: 55.98 kB / 1.031 GB, free: 52.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002317/1.887, allocations: 167.8 kB / 1.031 GB, free: 52.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008763/1.888, allocations: 261.2 kB / 1.032 GB, free: 52.55 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002311/1.888, allocations: 72 kB / 1.032 GB, free: 52.48 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002469/1.891, allocations: 1.506 MB / 1.033 GB, free: 50.97 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.51e-07/1.891, allocations: 0 / 1.033 GB, free: 50.97 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005278/1.896, allocations: 1.352 MB / 1.034 GB, free: 49.62 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004436/1.896, allocations: 178.3 kB / 1.035 GB, free: 49.43 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01093/1.907, allocations: 6.909 MB / 1.041 GB, free: 42.44 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.415e-05/1.907, allocations: 4 kB / 1.041 GB, free: 42.43 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007373/1.915, allocations: 4.4 MB / 1.046 GB, free: 37.96 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00761/1.922, allocations: 1.041 MB / 1.047 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02104/1.944, allocations: 11.93 MB / 1.058 GB, free: 24.92 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005371/1.949, allocations: 3.646 MB / 1.062 GB, free: 21.25 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002518/1.951, allocations: 0.5595 MB / 1.062 GB, free: 20.68 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005859/1.952, allocations: 159.4 kB / 1.063 GB, free: 20.53 MB / 0.7169 GB Notification: Performance of SimCode: time 1.413e-06/1.952, allocations: 0 / 1.063 GB, free: 20.53 MB / 0.7169 GB Notification: Performance of Templates: time 0.1255/2.078, allocations: 71.57 MB / 1.132 GB, free: 13.98 MB / 0.7794 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) Environment - environmentSimulation: