Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001341, allocations: 196.4 kB / 16.53 MB, free: 6.672 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.551/1.551, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.756/1.756, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.002859/0.002859, allocations: 72.92 kB / 0.6715 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3085, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03594/0.3445, allocations: 30.66 MB / 0.8133 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02363/0.3682, allocations: 13.66 MB / 0.8267 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004369/0.3726, allocations: 143.2 kB / 0.8268 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00858/0.3812, allocations: 3.192 MB / 0.8299 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008503/0.3897, allocations: 2.669 MB / 0.8325 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005478/0.3953, allocations: 2.01 MB / 0.8345 GB, free: 9 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01086/0.4061, allocations: 7.614 MB / 0.8419 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01021/0.4164, allocations: 8.28 MB / 0.85 GB, free: 8.961 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006126/0.4225, allocations: 3.396 MB / 0.8533 GB, free: 5.555 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006654/0.4292, allocations: 3.387 MB / 0.8566 GB, free: 2.156 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001981/0.4313, allocations: 0.5938 MB / 0.8572 GB, free: 1.562 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004354/0.4356, allocations: 1.49 MB / 0.8587 GB, free: 72 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003813/0.4395, allocations: 2.378 MB / 0.861 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.006404/0.4459, allocations: 2.878 MB / 0.8638 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01342/0.4593, allocations: 9.399 MB / 0.873 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.4594, allocations: 0 / 0.873 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.424e-06/0.4594, allocations: 0 / 0.873 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003399/0.4597, allocations: 4 kB / 0.873 GB, free: 1.367 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01325/0.473, allocations: 5.128 MB / 0.878 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.4731, allocations: 12.03 kB / 0.878 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00626/0.4793, allocations: 0.9941 MB / 0.879 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006452/0.4858, allocations: 2.9 MB / 0.8818 GB, free: 8.168 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000282/0.4861, allocations: 312.8 kB / 0.8821 GB, free: 7.859 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001418/0.4875, allocations: 420.1 kB / 0.8825 GB, free: 7.449 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01312/0.5007, allocations: 6.784 MB / 0.8891 GB, free: 376 kB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/0.5008, allocations: 23.78 kB / 0.8891 GB, free: 352 kB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004708/0.5013, allocations: 192 kB / 0.8893 GB, free: 160 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008786/0.5022, allocations: 372 kB / 0.8897 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009396/0.5116, allocations: 5.103 MB / 0.8947 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4972/1.009, allocations: 30.75 MB / 0.9247 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002478/1.011, allocations: 1.389 MB / 0.926 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00217/1.014, allocations: 1.335 MB / 0.9273 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.574e-05/1.014, allocations: 13.38 kB / 0.9274 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/1.014, allocations: 50.88 kB / 0.9274 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=130): time 3.186e-06/1.014, allocations: 0 / 0.9274 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=199): time 0.09214/1.106, allocations: 23.08 MB / 0.9499 GB, free: 110.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/1.106, allocations: 77.5 kB / 0.95 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003493/1.11, allocations: 2.058 MB / 0.952 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003539/1.11, allocations: 59.39 kB / 0.9521 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001249/1.111, allocations: 2.011 MB / 0.954 GB, free: 107.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006941/1.112, allocations: 0.6765 MB / 0.9547 GB, free: 106.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006902/1.113, allocations: 413.4 kB / 0.9551 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.35e-05/1.113, allocations: 302.8 kB / 0.9554 GB, free: 106.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/1.114, allocations: 1.436 MB / 0.9568 GB, free: 105.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001962/1.116, allocations: 2.011 MB / 0.9588 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003953/1.12, allocations: 3.692 MB / 0.9624 GB, free: 101.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/1.12, allocations: 3.656 kB / 0.9624 GB, free: 101.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01029/1.131, allocations: 5.652 MB / 0.9679 GB, free: 98.28 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/1.131, allocations: 18.02 kB / 0.9679 GB, free: 98.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-05/1.131, allocations: 18.06 kB / 0.9679 GB, free: 98.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006069/1.137, allocations: 2.103 MB / 0.97 GB, free: 97.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/1.138, allocations: 376.6 kB / 0.9703 GB, free: 97.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02932/1.168, allocations: 38.46 MB / 1.008 GB, free: 57.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003088/1.171, allocations: 127.9 kB / 1.008 GB, free: 57.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003761/1.171, allocations: 88 kB / 1.008 GB, free: 57.48 MB / 0.7325 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003631/1.175, allocations: 1.511 MB / 1.01 GB, free: 55.96 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009895/1.176, allocations: 280.7 kB / 1.01 GB, free: 55.69 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009161/1.185, allocations: 5.223 MB / 1.015 GB, free: 50.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/1.185, allocations: 20 kB / 1.015 GB, free: 50.37 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-05/1.185, allocations: 22.41 kB / 1.015 GB, free: 50.35 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.163e-05/1.185, allocations: 11.97 kB / 1.015 GB, free: 50.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01628/1.202, allocations: 9.675 MB / 1.024 GB, free: 40.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/1.202, allocations: 8 kB / 1.024 GB, free: 40.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000832/1.202, allocations: 215.6 kB / 1.025 GB, free: 40.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00644/1.209, allocations: 1.852 MB / 1.026 GB, free: 38.38 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000359/1.209, allocations: 44 kB / 1.027 GB, free: 38.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02867/1.238, allocations: 37.46 MB / 1.063 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/1.238, allocations: 7.938 kB / 1.063 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01044/1.248, allocations: 4.909 MB / 1.068 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00256/1.251, allocations: 0.6186 MB / 1.068 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008574/1.252, allocations: 43.98 kB / 1.069 GB, free: 8.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/1.254, allocations: 131.8 kB / 1.069 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000852/1.255, allocations: 189.1 kB / 1.069 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/1.255, allocations: 60 kB / 1.069 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00225/1.257, allocations: 1.378 MB / 1.07 GB, free: 6.91 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.257, allocations: 0 / 1.07 GB, free: 6.91 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004556/1.262, allocations: 1.051 MB / 1.071 GB, free: 5.859 MB / 0.7481 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003657/1.262, allocations: 170.9 kB / 1.071 GB, free: 5.684 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01224/1.274, allocations: 7.223 MB / 1.078 GB, free: 14.26 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/1.274, allocations: 0.875 kB / 1.078 GB, free: 14.26 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.007507/1.282, allocations: 4.386 MB / 1.083 GB, free: 9.652 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004679/1.287, allocations: 0.9931 MB / 1.084 GB, free: 8.703 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/1.302, allocations: 8.152 MB / 1.092 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00426/1.306, allocations: 3.127 MB / 1.095 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002412/1.309, allocations: 0.512 MB / 1.095 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000349/1.309, allocations: 147.4 kB / 1.095 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of SimCode: time 1.202e-06/1.309, allocations: 0 / 1.095 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.1093/1.418, allocations: 59.99 MB / 1.154 GB, free: 1.574 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)