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.001083/0.001082, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001329/0.001328, allocations: 177.3 kB / 15.94 MB, free: 228 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.735/1.735, allocations: 205.4 MB / 222.1 MB, free: 5.539 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.653/1.653, allocations: 251.9 MB / 0.51 GB, free: 4.848 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.0006678/0.0006681, allocations: 19.94 kB / 0.6241 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6639/0.6646, allocations: 106.3 MB / 0.728 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03437/0.699, allocations: 28.79 MB / 0.7561 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02554/0.7246, allocations: 13.81 MB / 0.7696 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00509/0.7298, allocations: 123.2 kB / 0.7697 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003492/0.7333, allocations: 0.7027 MB / 0.7704 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0106/0.7439, allocations: 2.27 MB / 0.7726 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006034/0.75, allocations: 1.407 MB / 0.774 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01156/0.7615, allocations: 4.549 MB / 0.7784 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02027/0.7819, allocations: 9.832 MB / 0.788 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007983/0.7899, allocations: 2.609 MB / 0.7906 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007676/0.7976, allocations: 2.413 MB / 0.7929 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002698/0.8003, allocations: 296 kB / 0.7932 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005054/0.8054, allocations: 0.7023 MB / 0.7939 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004786/0.8102, allocations: 2.085 MB / 0.7959 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003816/0.8141, allocations: 1.132 MB / 0.797 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01316/0.8273, allocations: 9.029 MB / 0.8059 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.8273, allocations: 0 / 0.8059 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8273, allocations: 0 / 0.8059 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0004411/0.8277, allocations: 4 kB / 0.8059 GB, free: 11.36 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.01462/0.8424, allocations: 4.853 MB / 0.8106 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.8424, allocations: 12.03 kB / 0.8106 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007337/0.8498, allocations: 1.133 MB / 0.8117 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00922/0.859, allocations: 3.224 MB / 0.8149 GB, free: 1.977 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003658/0.8594, allocations: 374 kB / 0.8152 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001069/0.8605, allocations: 499.8 kB / 0.8157 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01766/0.8782, allocations: 7.927 MB / 0.8234 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001323/0.8783, allocations: 31.77 kB / 0.8235 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005432/0.8789, allocations: 212 kB / 0.8237 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001107/0.88, allocations: 433.6 kB / 0.8241 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01299/0.893, allocations: 6.053 MB / 0.83 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06473/0.9578, allocations: 35.19 MB / 0.8644 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0038/0.9616, allocations: 2.022 MB / 0.8663 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/0.9618, allocations: 18 kB / 0.8664 GB, free: 9.766 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.827e-05/0.9619, allocations: 56.52 kB / 0.8664 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=171): time 3.246e-06/0.9619, allocations: 0 / 0.8664 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of matching and sorting (n=276): time 0.1511/1.113, allocations: 38.98 MB / 0.9045 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/1.113, allocations: 77.58 kB / 0.9046 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004641/1.118, allocations: 2.258 MB / 0.9068 GB, free: 264 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003854/1.118, allocations: 73.7 kB / 0.9068 GB, free: 184 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.565/1.683, allocations: 2.267 MB / 0.909 GB, free: 160.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001352/1.685, allocations: 0.935 MB / 0.91 GB, free: 159.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/1.685, allocations: 60.75 kB / 0.91 GB, free: 159.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000223/1.685, allocations: 427.1 kB / 0.9104 GB, free: 159.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003475/1.689, allocations: 1.96 MB / 0.9123 GB, free: 158.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003962/1.693, allocations: 2.576 MB / 0.9149 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004353/1.697, allocations: 2.375 MB / 0.9172 GB, free: 155.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.831e-05/1.697, allocations: 7.75 kB / 0.9172 GB, free: 155.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01625/1.713, allocations: 7.719 MB / 0.9247 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.768e-05/1.713, allocations: 15.98 kB / 0.9247 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.643e-05/1.713, allocations: 16.72 kB / 0.9247 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008618/1.722, allocations: 3.209 MB / 0.9279 GB, free: 152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/1.724, allocations: 405.1 kB / 0.9283 GB, free: 152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0382/1.762, allocations: 32.35 MB / 0.9599 GB, free: 126.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003645/1.766, allocations: 167.8 kB / 0.96 GB, free: 126 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003413/1.766, allocations: 112 kB / 0.9601 GB, free: 125.9 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.003598/1.77, allocations: 1.793 MB / 0.9619 GB, free: 124.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007755/1.771, allocations: 339.9 kB / 0.9622 GB, free: 123.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/1.783, allocations: 7.326 MB / 0.9694 GB, free: 116.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-05/1.783, allocations: 28 kB / 0.9694 GB, free: 116.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.075e-05/1.783, allocations: 28 kB / 0.9694 GB, free: 116.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.104e-05/1.783, allocations: 15.95 kB / 0.9694 GB, free: 116.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02074/1.803, allocations: 12.9 MB / 0.982 GB, free: 103.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/1.804, allocations: 8 kB / 0.982 GB, free: 103.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009/1.804, allocations: 229.1 kB / 0.9822 GB, free: 103 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007077/1.812, allocations: 2.856 MB / 0.985 GB, free: 100.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002871/1.812, allocations: 48 kB / 0.9851 GB, free: 100.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03361/1.845, allocations: 31.21 MB / 1.016 GB, free: 68.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.846, allocations: 7.938 kB / 1.016 GB, free: 68.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01093/1.856, allocations: 7.415 MB / 1.023 GB, free: 60.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002312/1.859, allocations: 0.7859 MB / 1.024 GB, free: 59.42 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004452/1.859, allocations: 63.94 kB / 1.024 GB, free: 59.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/1.861, allocations: 163.8 kB / 1.024 GB, free: 59.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001012/1.862, allocations: 249.5 kB / 1.024 GB, free: 58.96 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000174/1.862, allocations: 76 kB / 1.024 GB, free: 58.88 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002141/1.864, allocations: 1.498 MB / 1.026 GB, free: 57.38 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/1.864, allocations: 0 / 1.026 GB, free: 57.38 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004604/1.869, allocations: 1.352 MB / 1.027 GB, free: 56.03 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.0003876/1.869, allocations: 183 kB / 1.027 GB, free: 55.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01071/1.88, allocations: 6.893 MB / 1.034 GB, free: 48.85 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.581e-05/1.88, allocations: 4.875 kB / 1.034 GB, free: 48.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007136/1.887, allocations: 4.422 MB / 1.038 GB, free: 44.35 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004794/1.892, allocations: 0.977 MB / 1.039 GB, free: 43.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01756/1.91, allocations: 11.96 MB / 1.051 GB, free: 31.37 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003462/1.913, allocations: 3.737 MB / 1.054 GB, free: 27.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002366/1.916, allocations: 0.5634 MB / 1.055 GB, free: 27.03 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003706/1.916, allocations: 155.4 kB / 1.055 GB, free: 26.88 MB / 0.7169 GB Notification: Performance of SimCode: time 1.493e-06/1.916, allocations: 0 / 1.055 GB, free: 26.88 MB / 0.7169 GB Notification: Performance of Templates: time 0.1213/2.037, allocations: 71.55 MB / 1.125 GB, free: 4.352 MB / 0.7637 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: