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.001279/0.001279, allocations: 105.4 kB / 15.7 MB, free: 24 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.001291/0.001291, allocations: 195.3 kB / 16.64 MB, free: 6.453 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.488/1.488, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.779/1.779, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001509/0.001509, allocations: 66.27 kB / 0.6723 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2822, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01621/0.2984, allocations: 13.93 MB / 0.7977 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01571/0.3142, allocations: 9.471 MB / 0.807 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002047/0.3163, allocations: 55.69 kB / 0.807 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00459/0.321, allocations: 1.683 MB / 0.8087 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006816/0.3278, allocations: 1.53 MB / 0.8102 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002594/0.3304, allocations: 0.7545 MB / 0.8109 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004067/0.3345, allocations: 2.524 MB / 0.8134 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002276/0.3368, allocations: 1.411 MB / 0.8148 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002082/0.3389, allocations: 1.047 MB / 0.8158 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001896/0.3408, allocations: 1.144 MB / 0.8169 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002477/0.341, allocations: 164 kB / 0.8171 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.3427, allocations: 0.7955 MB / 0.8178 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006335/0.3433, allocations: 0.6115 MB / 0.8184 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.3446, allocations: 0.9446 MB / 0.8193 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003593/0.3482, allocations: 2.753 MB / 0.822 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3482, allocations: 0 / 0.822 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3482, allocations: 0 / 0.822 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.18e-05/0.3483, allocations: 0 / 0.822 GB, free: 5.762 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.004062/0.3523, allocations: 2.139 MB / 0.8241 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3524, allocations: 16.03 kB / 0.8241 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/0.364, allocations: 2.081 MB / 0.8262 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002969/0.367, allocations: 1.294 MB / 0.8274 GB, free: 116 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/0.3671, allocations: 90.73 kB / 0.8275 GB, free: 24 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003457/0.3674, allocations: 128 kB / 0.8276 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005978/0.3734, allocations: 2.675 MB / 0.8303 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.864e-05/0.3735, allocations: 4 kB / 0.8303 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/0.3736, allocations: 59.98 kB / 0.8303 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006405/0.3743, allocations: 182.1 kB / 0.8305 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007632/0.3819, allocations: 2.791 MB / 0.8332 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01583/0.3978, allocations: 10.48 MB / 0.8435 GB, free: 14.97 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006645/0.4045, allocations: 2.527 MB / 0.8459 GB, free: 12.38 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00321/0.4078, allocations: 1.288 MB / 0.8472 GB, free: 11.09 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.987e-05/0.4079, allocations: 9 kB / 0.8472 GB, free: 11.08 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.4079, allocations: 51.55 kB / 0.8472 GB, free: 11.02 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 2.845e-06/0.4079, allocations: 4 kB / 0.8472 GB, free: 11.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=131): time 0.04691/0.4548, allocations: 13.34 MB / 0.8603 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.4549, allocations: 64.72 kB / 0.8603 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.4565, allocations: 1.117 MB / 0.8614 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001462/0.4567, allocations: 49.7 kB / 0.8615 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004934/0.4572, allocations: 0.7155 MB / 0.8622 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004347/0.4576, allocations: 457.4 kB / 0.8626 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005055/0.4581, allocations: 263.3 kB / 0.8629 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4583, allocations: 365.9 kB / 0.8632 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003308/0.4616, allocations: 1.343 MB / 0.8645 GB, free: 9.051 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003563/0.4652, allocations: 1.6 MB / 0.8661 GB, free: 7.352 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006752/0.472, allocations: 2.991 MB / 0.869 GB, free: 4.266 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.472, allocations: 0 / 0.869 GB, free: 4.266 MB / 0.6856 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01167/0.4837, allocations: 4.447 MB / 0.8733 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.4838, allocations: 8.125 kB / 0.8733 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.4838, allocations: 12 kB / 0.8734 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005178/0.489, allocations: 1.423 MB / 0.8747 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/0.4911, allocations: 439.2 kB / 0.8752 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02799/0.5191, allocations: 26.68 MB / 0.9012 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002802/0.5219, allocations: 303.6 kB / 0.9015 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002081/0.5221, allocations: 63.91 kB / 0.9016 GB, free: 0.9766 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.0008614/0.523, allocations: 441.3 kB / 0.902 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002946/0.5233, allocations: 166.2 kB / 0.9022 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/0.535, allocations: 4.449 MB / 0.9065 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.535, allocations: 16 kB / 0.9065 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.401e-05/0.5351, allocations: 19.97 kB / 0.9065 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/0.5351, allocations: 3.984 kB / 0.9065 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/0.5511, allocations: 6.768 MB / 0.9131 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.5512, allocations: 4.031 kB / 0.9131 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/0.553, allocations: 379.4 kB / 0.9135 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004626/0.5576, allocations: 1.298 MB / 0.9148 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/0.5578, allocations: 39.97 kB / 0.9148 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5556/1.113, allocations: 25.48 MB / 0.9397 GB, free: 110.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.113, allocations: 8.438 kB / 0.9397 GB, free: 110.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01082/1.124, allocations: 4.201 MB / 0.9438 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/1.125, allocations: 459.5 kB / 0.9443 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000345/1.126, allocations: 25.7 kB / 0.9443 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00224/1.128, allocations: 310.8 kB / 0.9446 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004906/1.129, allocations: 119.3 kB / 0.9447 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/1.129, allocations: 56.98 kB / 0.9447 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009553/1.13, allocations: 0.75 MB / 0.9455 GB, free: 109 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/1.13, allocations: 0 / 0.9455 GB, free: 109 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002109/1.132, allocations: 0.5709 MB / 0.946 GB, free: 108.9 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.0003072/1.132, allocations: 149.4 kB / 0.9462 GB, free: 108.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01163/1.144, allocations: 5.131 MB / 0.9512 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.956e-06/1.144, allocations: 1.312 kB / 0.9512 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007343/1.151, allocations: 3.491 MB / 0.9546 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002792/1.154, allocations: 0.5448 MB / 0.9551 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00946/1.163, allocations: 3.994 MB / 0.959 GB, free: 102.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/1.165, allocations: 1.481 MB / 0.9605 GB, free: 101.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001623/1.167, allocations: 429.2 kB / 0.9609 GB, free: 101.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004422/1.167, allocations: 116.4 kB / 0.961 GB, free: 101.6 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/1.167, allocations: 0 / 0.961 GB, free: 101.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.05392/1.221, allocations: 38.95 MB / 0.999 GB, free: 74.04 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)