Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.00138, allocations: 108 kB / 15.61 MB, free: 152 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.001523/0.001523, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.499/1.499, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.737/1.737, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001535/0.001535, allocations: 72.11 kB / 0.6715 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.247, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03874/0.2858, allocations: 35 MB / 0.8176 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01836/0.3042, allocations: 10.02 MB / 0.8273 GB, free: 312 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00414/0.3083, allocations: 147.2 kB / 0.8275 GB, free: 164 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01054/0.319, allocations: 3.795 MB / 0.8312 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007081/0.3261, allocations: 2.04 MB / 0.8332 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006845/0.3329, allocations: 1.955 MB / 0.8351 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01154/0.3445, allocations: 7.975 MB / 0.8429 GB, free: 360 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01599/0.3605, allocations: 9.585 MB / 0.8522 GB, free: 6.648 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007116/0.3677, allocations: 3.361 MB / 0.8555 GB, free: 3.277 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009608/0.3774, allocations: 3.73 MB / 0.8592 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003961/0.3814, allocations: 0.6758 MB / 0.8598 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008874/0.3903, allocations: 1.447 MB / 0.8612 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.007678/0.398, allocations: 2.624 MB / 0.8638 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.01199/0.4101, allocations: 3.104 MB / 0.8668 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02121/0.4314, allocations: 10.31 MB / 0.8769 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.191e-05/0.4314, allocations: 0 / 0.8769 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.465e-06/0.4315, allocations: 0 / 0.8769 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003877/0.4319, allocations: 0 / 0.8769 GB, free: 13.32 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.02171/0.4536, allocations: 5.408 MB / 0.8822 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.486e-05/0.4537, allocations: 8.031 kB / 0.8822 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/0.4639, allocations: 0.9704 MB / 0.8831 GB, free: 6.859 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01142/0.4754, allocations: 2.995 MB / 0.8861 GB, free: 3.809 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006038/0.4761, allocations: 361.9 kB / 0.8864 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002676/0.4788, allocations: 468.2 kB / 0.8869 GB, free: 2.996 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02863/0.5075, allocations: 7.91 MB / 0.8946 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002216/0.5078, allocations: 19.88 kB / 0.8946 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001731/0.5095, allocations: 208 kB / 0.8948 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009039/0.5104, allocations: 369.1 kB / 0.8951 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02269/0.5331, allocations: 5.933 MB / 0.9009 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6383/1.171, allocations: 36.2 MB / 0.9363 GB, free: 108.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003385/1.175, allocations: 2.146 MB / 0.9384 GB, free: 107.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001908/1.177, allocations: 1.473 MB / 0.9398 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-05/1.177, allocations: 20.97 kB / 0.9398 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5e-05/1.177, allocations: 61.38 kB / 0.9399 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 3.837e-06/1.177, allocations: 0 / 0.9399 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.01544/1.192, allocations: 7.538 MB / 0.9473 GB, free: 103.4 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/1.193, allocations: 68.73 kB / 0.9473 GB, free: 103.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004346/1.197, allocations: 1.861 MB / 0.9491 GB, free: 102.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003781/1.197, allocations: 53.58 kB / 0.9492 GB, free: 102.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001662/1.199, allocations: 2.126 MB / 0.9513 GB, free: 101 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006443/1.2, allocations: 0.5567 MB / 0.9518 GB, free: 100.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006404/1.2, allocations: 401.9 kB / 0.9522 GB, free: 100.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 6.081e-05/1.2, allocations: 306.5 kB / 0.9525 GB, free: 100.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/1.202, allocations: 1.062 MB / 0.9535 GB, free: 99.65 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002072/1.204, allocations: 1.763 MB / 0.9553 GB, free: 98.36 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003647/1.208, allocations: 3.054 MB / 0.9582 GB, free: 96.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.638e-05/1.208, allocations: 6.438 kB / 0.9582 GB, free: 96.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007149/1.215, allocations: 3.918 MB / 0.9621 GB, free: 94.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.394e-05/1.215, allocations: 18.19 kB / 0.9621 GB, free: 94.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.821e-05/1.215, allocations: 24.39 kB / 0.9621 GB, free: 94.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002536/1.218, allocations: 0.9358 MB / 0.963 GB, free: 94.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/1.219, allocations: 428.1 kB / 0.9634 GB, free: 94.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01652/1.236, allocations: 22.77 MB / 0.9857 GB, free: 73.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/1.238, allocations: 118.7 kB / 0.9858 GB, free: 73.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002216/1.239, allocations: 98.61 kB / 0.9859 GB, free: 73.77 MB / 0.7325 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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.002961/1.242, allocations: 1.646 MB / 0.9875 GB, free: 72.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006749/1.242, allocations: 262.8 kB / 0.9877 GB, free: 72.62 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004821/1.247, allocations: 3.261 MB / 0.9909 GB, free: 70.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/1.247, allocations: 14.59 kB / 0.9909 GB, free: 70.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/1.247, allocations: 10.81 kB / 0.9909 GB, free: 70.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/1.247, allocations: 7.969 kB / 0.991 GB, free: 70.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/1.259, allocations: 7.558 MB / 0.9983 GB, free: 66.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/1.259, allocations: 7.594 kB / 0.9983 GB, free: 66.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008767/1.26, allocations: 218.9 kB / 0.9985 GB, free: 66.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002182/1.262, allocations: 0.8879 MB / 0.9994 GB, free: 65.54 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/1.262, allocations: 30.34 kB / 0.9994 GB, free: 65.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01497/1.277, allocations: 22.73 MB / 1.022 GB, free: 42.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.277, allocations: 11.88 kB / 1.022 GB, free: 42.12 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004964/1.282, allocations: 3.387 MB / 1.025 GB, free: 38.62 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/1.284, allocations: 0.5256 MB / 1.025 GB, free: 38.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003836/1.284, allocations: 35.91 kB / 1.026 GB, free: 38.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/1.285, allocations: 95.88 kB / 1.026 GB, free: 37.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003606/1.285, allocations: 141 kB / 1.026 GB, free: 37.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.591e-05/1.286, allocations: 44 kB / 1.026 GB, free: 37.77 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001598/1.287, allocations: 1.225 MB / 1.027 GB, free: 36.53 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.193e-06/1.287, allocations: 0 / 1.027 GB, free: 36.53 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003486/1.291, allocations: 0.9102 MB / 1.028 GB, free: 35.62 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002949/1.291, allocations: 159.9 kB / 1.028 GB, free: 35.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007445/1.298, allocations: 5.188 MB / 1.033 GB, free: 30.13 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/1.298, allocations: 7.906 kB / 1.033 GB, free: 30.12 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003473/1.302, allocations: 2.995 MB / 1.036 GB, free: 26.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003589/1.306, allocations: 0.8139 MB / 1.037 GB, free: 26.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/1.318, allocations: 7.693 MB / 1.044 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003011/1.321, allocations: 3.211 MB / 1.047 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002087/1.323, allocations: 0.5293 MB / 1.048 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000384/1.323, allocations: 139.4 kB / 1.048 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of SimCode: time 1.583e-06/1.323, allocations: 4 kB / 1.048 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of Templates: time 0.07147/1.395, allocations: 42.93 MB / 1.09 GB, free: 4.238 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)