Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 105.9 kB / 16.37 MB, free: 6.477 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.001106/0.001106, allocations: 189.8 kB / 17.31 MB, free: 5.824 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.364/1.364, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.758/1.758, allocations: 292.3 MB / 0.5496 GB, free: 17.36 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.001499/0.001499, allocations: 72.12 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2193, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.4156/0.635, allocations: 37.55 MB / 0.8215 GB, free: 26.73 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02304/0.6581, allocations: 13.03 MB / 0.8342 GB, free: 17.93 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005297/0.6634, allocations: 171.2 kB / 0.8344 GB, free: 17.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01038/0.6739, allocations: 3.875 MB / 0.8382 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01007/0.684, allocations: 2.482 MB / 0.8406 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00869/0.6927, allocations: 2.708 MB / 0.8432 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01539/0.7081, allocations: 9.575 MB / 0.8526 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02159/0.7297, allocations: 10.64 MB / 0.863 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01097/0.7407, allocations: 3.997 MB / 0.8669 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01131/0.7521, allocations: 4.375 MB / 0.8711 GB, free: 15.24 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.004653/0.7568, allocations: 0.7707 MB / 0.8719 GB, free: 15.24 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009945/0.7668, allocations: 1.782 MB / 0.8736 GB, free: 14.7 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0082/0.775, allocations: 3.03 MB / 0.8766 GB, free: 12.53 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0108/0.7858, allocations: 3.587 MB / 0.8801 GB, free: 8.926 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01841/0.8043, allocations: 11.84 MB / 0.8917 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.8043, allocations: 0 / 0.8917 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.055e-06/0.8043, allocations: 0 / 0.8917 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000434/0.8048, allocations: 0 / 0.8917 GB, free: 13.04 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02034/0.8251, allocations: 6.366 MB / 0.8979 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.8252, allocations: 11.97 kB / 0.8979 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009894/0.8351, allocations: 1.301 MB / 0.8992 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008311/0.8435, allocations: 3.783 MB / 0.9029 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003539/0.8438, allocations: 378.5 kB / 0.9032 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002146/0.846, allocations: 0.5001 MB / 0.9037 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01988/0.8659, allocations: 8.894 MB / 0.9124 GB, free: 7.305 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001826/0.8661, allocations: 19.78 kB / 0.9124 GB, free: 7.285 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009899/0.8671, allocations: 224 kB / 0.9126 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00229/0.8694, allocations: 0.6382 MB / 0.9132 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01575/0.8852, allocations: 7.006 MB / 0.9201 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06518/0.9504, allocations: 40.05 MB / 0.9592 GB, free: 4.117 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004848/0.9553, allocations: 2.894 MB / 0.962 GB, free: 1.207 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004116/0.9594, allocations: 2.667 MB / 0.9646 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003481/0.9598, allocations: 26.09 kB / 0.9647 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.151e-05/0.9599, allocations: 72.58 kB / 0.9647 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=265): time 5.05e-06/0.9599, allocations: 0 / 0.9647 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of matching and sorting (n=424): time 0.3479/1.308, allocations: 74.66 MB / 1.038 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.803e-05/1.308, allocations: 98.72 kB / 1.038 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003904/1.312, allocations: 2.355 MB / 1.04 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0007215/1.313, allocations: 97.7 kB / 1.04 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001527/1.314, allocations: 2.341 MB / 1.042 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001571/1.316, allocations: 1.44 MB / 1.044 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001572/1.317, allocations: 0.7215 MB / 1.045 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.562e-05/1.317, allocations: 305.1 kB / 1.045 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004275/1.322, allocations: 3.003 MB / 1.048 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004814/1.326, allocations: 3.839 MB / 1.051 GB, free: 4.48 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00981/1.336, allocations: 7.388 MB / 1.059 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.981e-05/1.336, allocations: 11.98 kB / 1.059 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02966/1.366, allocations: 12.55 MB / 1.071 GB, free: 100 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/1.366, allocations: 16 kB / 1.071 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.053e-05/1.366, allocations: 20 kB / 1.071 GB, free: 64 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02399/1.39, allocations: 6.02 MB / 1.077 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/1.393, allocations: 499.1 kB / 1.077 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4918/1.884, allocations: 72.99 MB / 1.149 GB, free: 267.7 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004697/1.889, allocations: 217.5 kB / 1.149 GB, free: 267.7 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000605/1.89, allocations: 155.8 kB / 1.149 GB, free: 267.7 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003965/1.894, allocations: 1.991 MB / 1.151 GB, free: 267.6 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/1.895, allocations: 396.8 kB / 1.151 GB, free: 267.6 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03091/1.926, allocations: 12.23 MB / 1.163 GB, free: 263.9 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-05/1.926, allocations: 40.91 kB / 1.163 GB, free: 263.9 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002486/1.926, allocations: 49.12 kB / 1.163 GB, free: 263.9 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001107/1.926, allocations: 22.88 kB / 1.163 GB, free: 263.9 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04514/1.971, allocations: 19.14 MB / 1.182 GB, free: 256.6 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.545e-05/1.971, allocations: 6.719 kB / 1.182 GB, free: 256.6 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/1.973, allocations: 292.2 kB / 1.182 GB, free: 256.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02043/1.993, allocations: 5.577 MB / 1.188 GB, free: 255.2 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007714/1.994, allocations: 80.64 kB / 1.188 GB, free: 255.1 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06739/2.062, allocations: 70.61 MB / 1.257 GB, free: 204.8 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/2.062, allocations: 11.16 kB / 1.257 GB, free: 204.8 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02643/2.088, allocations: 15.62 MB / 1.272 GB, free: 191.4 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002404/2.091, allocations: 1.04 MB / 1.273 GB, free: 190.4 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007895/2.091, allocations: 87.7 kB / 1.273 GB, free: 190.3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002646/2.094, allocations: 219.7 kB / 1.273 GB, free: 190.1 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001286/2.095, allocations: 410.2 kB / 1.274 GB, free: 189.7 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00027/2.096, allocations: 108 kB / 1.274 GB, free: 189.6 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001906/2.098, allocations: 1.553 MB / 1.275 GB, free: 188 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/2.098, allocations: 0 / 1.275 GB, free: 188 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.005794/2.103, allocations: 1.863 MB / 1.277 GB, free: 186.2 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007686/2.104, allocations: 222.7 kB / 1.277 GB, free: 185.9 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01719/2.121, allocations: 12.2 MB / 1.289 GB, free: 173.5 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/2.121, allocations: 7.938 kB / 1.289 GB, free: 173.5 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.01241/2.134, allocations: 8.347 MB / 1.298 GB, free: 164.8 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005049/2.139, allocations: 1.188 MB / 1.299 GB, free: 163.8 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01761/2.157, allocations: 12.94 MB / 1.311 GB, free: 150.9 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003693/2.16, allocations: 4.165 MB / 1.315 GB, free: 146.7 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008555/2.161, allocations: 195.4 kB / 1.316 GB, free: 146.5 MB / 0.92 GB Notification: Performance of SimCode: time 1.112e-06/2.161, allocations: 0 / 1.316 GB, free: 146.5 MB / 0.92 GB Notification: Performance of Templates: time 1.282/3.443, allocations: 0.7437 GB / 2.059 GB, free: 164.7 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)