Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001159/0.001159, allocations: 109.2 kB / 15.99 MB, free: 5.91 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.001211/0.001211, allocations: 191.5 kB / 16.91 MB, free: 5.758 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.337/1.337, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.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.814/1.814, allocations: 292.3 MB / 0.5492 GB, free: 17.69 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.001496/0.001496, allocations: 59.91 kB / 0.6717 GB, free: 6.906 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2403, allocations: 114.6 MB / 0.7835 GB, free: 4.238 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.4674/0.7078, allocations: 32.89 MB / 0.8156 GB, free: 31.04 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02318/0.731, allocations: 14.75 MB / 0.83 GB, free: 20.91 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004763/0.7358, allocations: 142.7 kB / 0.8302 GB, free: 20.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01002/0.7459, allocations: 3.404 MB / 0.8335 GB, free: 18.87 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01102/0.7569, allocations: 2.672 MB / 0.8361 GB, free: 17.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007223/0.7642, allocations: 2.132 MB / 0.8382 GB, free: 16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0126/0.7768, allocations: 8.832 MB / 0.8468 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01914/0.796, allocations: 11.36 MB / 0.8579 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008235/0.8043, allocations: 4.01 MB / 0.8618 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009128/0.8134, allocations: 4.217 MB / 0.866 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.00348/0.8169, allocations: 0.7202 MB / 0.8667 GB, free: 3.531 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006769/0.8237, allocations: 1.718 MB / 0.8683 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.006376/0.8301, allocations: 2.83 MB / 0.8711 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.009788/0.84, allocations: 3.396 MB / 0.8744 GB, free: 14.68 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.8533, allocations: 9.478 MB / 0.8837 GB, free: 5.172 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.8533, allocations: 0 / 0.8837 GB, free: 5.172 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8533, allocations: 0 / 0.8837 GB, free: 5.172 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003856/0.8537, allocations: 0 / 0.8837 GB, free: 5.172 MB / 0.67 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.01721/0.871, allocations: 5.975 MB / 0.8895 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.871, allocations: 8.031 kB / 0.8895 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008104/0.8791, allocations: 1.142 MB / 0.8906 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007849/0.887, allocations: 3.328 MB / 0.8939 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000397/0.8875, allocations: 374.4 kB / 0.8942 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002187/0.8897, allocations: 0.4921 MB / 0.8947 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01952/0.9092, allocations: 8.005 MB / 0.9025 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003122/0.9096, allocations: 23.78 kB / 0.9026 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001753/0.9113, allocations: 216 kB / 0.9028 GB, free: 1.18 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001172/0.9125, allocations: 441.5 kB / 0.9032 GB, free: 0.7461 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01329/0.9258, allocations: 6.092 MB / 0.9091 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04677/0.9726, allocations: 35.14 MB / 0.9434 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003067/0.9757, allocations: 2.023 MB / 0.9454 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002813/0.9786, allocations: 1.869 MB / 0.9473 GB, free: 428 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.9788, allocations: 18 kB / 0.9473 GB, free: 412 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/0.9788, allocations: 60.44 kB / 0.9473 GB, free: 340 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=171): time 3.587e-06/0.9788, allocations: 3.938 kB / 0.9473 GB, free: 336 kB / 0.7325 GB Notification: Performance of matching and sorting (n=276): time 0.1472/1.126, allocations: 38.87 MB / 0.9853 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/1.126, allocations: 81.58 kB / 0.9854 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004232/1.13, allocations: 2.286 MB / 0.9876 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0005865/1.131, allocations: 69.7 kB / 0.9877 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001813/1.133, allocations: 2.28 MB / 0.9899 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001387/1.134, allocations: 0.928 MB / 0.9908 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001669/1.136, allocations: 0.5022 MB / 0.9913 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001897/1.136, allocations: 309 kB / 0.9916 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003268/1.139, allocations: 1.973 MB / 0.9935 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003981/1.143, allocations: 2.606 MB / 0.9961 GB, free: 14 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007278/1.151, allocations: 4.929 MB / 1.001 GB, free: 8.797 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.115e-05/1.151, allocations: 4 kB / 1.001 GB, free: 8.793 MB / 0.795 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01666/1.168, allocations: 7.758 MB / 1.008 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.931e-05/1.168, allocations: 12 kB / 1.008 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.373e-05/1.168, allocations: 20 kB / 1.008 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01016/1.178, allocations: 3.241 MB / 1.012 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/1.18, allocations: 399.3 kB / 1.012 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04613/1.226, allocations: 33.92 MB / 1.045 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003195/1.229, allocations: 163.8 kB / 1.045 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005426/1.23, allocations: 108 kB / 1.045 GB, free: 10.26 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003765/1.233, allocations: 1.804 MB / 1.047 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009792/1.234, allocations: 328.2 kB / 1.047 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/1.249, allocations: 7.36 MB / 1.055 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.891e-05/1.249, allocations: 24 kB / 1.055 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.402e-05/1.249, allocations: 32 kB / 1.055 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-05/1.249, allocations: 15.94 kB / 1.055 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02579/1.275, allocations: 12.93 MB / 1.067 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.93e-05/1.275, allocations: 7.938 kB / 1.067 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/1.276, allocations: 236 kB / 1.068 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008853/1.285, allocations: 2.877 MB / 1.07 GB, free: 380 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000472/1.286, allocations: 52 kB / 1.07 GB, free: 328 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04488/1.331, allocations: 32.69 MB / 1.102 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/1.331, allocations: 8 kB / 1.102 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01316/1.344, allocations: 6.898 MB / 1.109 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001902/1.346, allocations: 0.7744 MB / 1.11 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000912/1.347, allocations: 55.91 kB / 1.11 GB, free: 6.805 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/1.349, allocations: 167.8 kB / 1.11 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008504/1.35, allocations: 257.4 kB / 1.11 GB, free: 6.391 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002474/1.35, allocations: 76 kB / 1.11 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002746/1.353, allocations: 1.525 MB / 1.112 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/1.353, allocations: 0 / 1.112 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.004838/1.358, allocations: 1.375 MB / 1.113 GB, free: 3.414 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005329/1.358, allocations: 171.8 kB / 1.113 GB, free: 3.238 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01505/1.373, allocations: 8.372 MB / 1.122 GB, free: 10.77 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/1.373, allocations: 4.312 kB / 1.122 GB, free: 10.76 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.007968/1.381, allocations: 4.417 MB / 1.126 GB, free: 6.27 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005744/1.387, allocations: 1.107 MB / 1.127 GB, free: 5.211 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4076/1.795, allocations: 13.16 MB / 1.14 GB, free: 278.2 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005619/1.8, allocations: 3.746 MB / 1.143 GB, free: 277.4 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009586/1.801, allocations: 173.5 kB / 1.144 GB, free: 277.4 MB / 0.92 GB Notification: Performance of SimCode: time 1.242e-06/1.801, allocations: 3.719 kB / 1.144 GB, free: 277.4 MB / 0.92 GB Notification: Performance of Templates: time 0.2245/2.026, allocations: 227.3 MB / 1.366 GB, free: 96.58 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)