Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 104.2 kB / 15.99 MB, free: 6.355 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.001035/0.001035, allocations: 197.3 kB / 16.91 MB, free: 6.188 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.528/1.528, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.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.732/1.732, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001348/0.001349, allocations: 64.17 kB / 0.6717 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2732, allocations: 114.6 MB / 0.7835 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01521/0.2884, allocations: 13.85 MB / 0.797 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01366/0.3021, allocations: 9.378 MB / 0.8062 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.3041, allocations: 55.62 kB / 0.8063 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004324/0.3085, allocations: 1.576 MB / 0.8078 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005325/0.3138, allocations: 1.405 MB / 0.8092 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002383/0.3162, allocations: 0.689 MB / 0.8098 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004186/0.3204, allocations: 2.516 MB / 0.8123 GB, free: 304 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002314/0.3228, allocations: 1.59 MB / 0.8139 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/0.3249, allocations: 1.059 MB / 0.8149 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/0.327, allocations: 1.183 MB / 0.816 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003454/0.3274, allocations: 164 kB / 0.8162 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.3292, allocations: 0.7916 MB / 0.817 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006339/0.3298, allocations: 0.6232 MB / 0.8176 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001293/0.3311, allocations: 0.9368 MB / 0.8185 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002669/0.3338, allocations: 2.206 MB / 0.8206 GB, free: 7.691 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.956e-06/0.3338, allocations: 4 kB / 0.8207 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.614e-06/0.3339, allocations: 4 kB / 0.8207 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.194e-05/0.3339, allocations: 0 / 0.8207 GB, free: 7.684 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004253/0.3382, allocations: 2.127 MB / 0.8227 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.3382, allocations: 8.031 kB / 0.8227 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/0.3492, allocations: 2.085 MB / 0.8248 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002877/0.3521, allocations: 1.208 MB / 0.826 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.289e-05/0.3522, allocations: 86.73 kB / 0.826 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003013/0.3525, allocations: 128 kB / 0.8262 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005766/0.3583, allocations: 2.674 MB / 0.8288 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.19e-05/0.3584, allocations: 11.94 kB / 0.8288 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/0.3585, allocations: 55.97 kB / 0.8288 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006093/0.3592, allocations: 186.1 kB / 0.829 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007572/0.3667, allocations: 2.791 MB / 0.8317 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.017/0.3838, allocations: 10.51 MB / 0.842 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007724/0.3915, allocations: 2.534 MB / 0.8445 GB, free: 14.36 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003558/0.3951, allocations: 1.288 MB / 0.8457 GB, free: 13.07 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 9.151e-05/0.3953, allocations: 12.94 kB / 0.8458 GB, free: 13.05 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.3953, allocations: 43.56 kB / 0.8458 GB, free: 13 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 2.866e-06/0.3953, allocations: 0 / 0.8458 GB, free: 13 MB / 0.67 GB Notification: Performance of matching and sorting (n=131): time 0.04618/0.4415, allocations: 13.35 MB / 0.8588 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.4416, allocations: 68.72 kB / 0.8589 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.4434, allocations: 1.117 MB / 0.86 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002162/0.4436, allocations: 45.7 kB / 0.86 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005725/0.4442, allocations: 0.7117 MB / 0.8607 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004721/0.4447, allocations: 461.3 kB / 0.8612 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004961/0.4452, allocations: 263.4 kB / 0.8614 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.4454, allocations: 361.8 kB / 0.8618 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003192/0.4486, allocations: 1.339 MB / 0.8631 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00334/0.4519, allocations: 1.604 MB / 0.8646 GB, free: 9.328 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006451/0.4584, allocations: 2.994 MB / 0.8676 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.4584, allocations: 4 kB / 0.8676 GB, free: 6.234 MB / 0.6856 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01119/0.4696, allocations: 4.434 MB / 0.8719 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.4697, allocations: 8.875 kB / 0.8719 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.4697, allocations: 8 kB / 0.8719 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005147/0.4749, allocations: 1.439 MB / 0.8733 GB, free: 256 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/0.477, allocations: 439.2 kB / 0.8737 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02845/0.5055, allocations: 26.69 MB / 0.8998 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/0.5081, allocations: 307.6 kB / 0.9001 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/0.5083, allocations: 71.89 kB / 0.9002 GB, free: 2.918 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009052/0.5093, allocations: 442.1 kB / 0.9006 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000337/0.5096, allocations: 162.1 kB / 0.9007 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0111/0.5207, allocations: 4.449 MB / 0.9051 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.5208, allocations: 12.19 kB / 0.9051 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.2e-05/0.5208, allocations: 12 kB / 0.9051 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.948e-05/0.5208, allocations: 11.91 kB / 0.9051 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01484/0.5357, allocations: 6.767 MB / 0.9117 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.5357, allocations: 4 kB / 0.9117 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001779/0.5375, allocations: 379.4 kB / 0.9121 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004721/0.5423, allocations: 1.315 MB / 0.9134 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/0.5425, allocations: 43.91 kB / 0.9134 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4499/0.9923, allocations: 25.49 MB / 0.9383 GB, free: 112.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.9924, allocations: 2.875 kB / 0.9383 GB, free: 112.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/1.003, allocations: 4.208 MB / 0.9424 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009397/1.004, allocations: 457.1 kB / 0.9429 GB, free: 111.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/1.004, allocations: 26.7 kB / 0.9429 GB, free: 111.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/1.006, allocations: 308.8 kB / 0.9432 GB, free: 111.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005766/1.006, allocations: 128.6 kB / 0.9433 GB, free: 111.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/1.006, allocations: 48.09 kB / 0.9433 GB, free: 111.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001014/1.008, allocations: 0.7551 MB / 0.9441 GB, free: 110.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.008, allocations: 3.375 kB / 0.9441 GB, free: 110.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002262/1.01, allocations: 0.5667 MB / 0.9446 GB, free: 110.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003257/1.01, allocations: 145.7 kB / 0.9448 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01303/1.023, allocations: 5.517 MB / 0.9502 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/1.023, allocations: 3.438 kB / 0.9502 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006864/1.03, allocations: 3.486 MB / 0.9536 GB, free: 106.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/1.033, allocations: 0.547 MB / 0.9541 GB, free: 106 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009116/1.042, allocations: 4.764 MB / 0.9588 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/1.043, allocations: 1.481 MB / 0.9602 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007082/1.044, allocations: 138.3 kB / 0.9603 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of SimCode: time 7.22e-07/1.044, allocations: 0 / 0.9603 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.08581/1.13, allocations: 112.5 MB / 1.07 GB, free: 1.09 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)