Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 108 kB / 15.6 MB, free: 132 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.001953/0.001952, allocations: 195.3 kB / 16.53 MB, free: 6.391 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.622/1.622, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.822/1.822, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001484/0.001484, allocations: 71.97 kB / 0.6715 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3168, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.00867/0.3255, allocations: 6.113 MB / 0.7893 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005515/0.3311, allocations: 3.232 MB / 0.7925 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007462/0.3319, allocations: 27.81 kB / 0.7925 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00255/0.3345, allocations: 0.941 MB / 0.7934 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.3362, allocations: 477.5 kB / 0.7939 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.3377, allocations: 0.4949 MB / 0.7944 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001551/0.3392, allocations: 1.096 MB / 0.7955 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.3403, allocations: 0.6469 MB / 0.7961 GB, free: 408 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008527/0.3412, allocations: 430.4 kB / 0.7965 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/0.3425, allocations: 478.1 kB / 0.7969 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003314/0.3428, allocations: 60 kB / 0.797 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.3442, allocations: 487 kB / 0.7975 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003896/0.3446, allocations: 283.2 kB / 0.7977 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005672/0.3452, allocations: 405.9 kB / 0.7981 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.3469, allocations: 1.168 MB / 0.7993 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.3469, allocations: 4 kB / 0.7993 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3469, allocations: 0 / 0.7993 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.3469, allocations: 0 / 0.7993 GB, free: 13.12 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001747/0.3487, allocations: 1.06 MB / 0.8003 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.3488, allocations: 12.03 kB / 0.8003 GB, free: 12 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/0.3503, allocations: 223.6 kB / 0.8005 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007457/0.3511, allocations: 0.5337 MB / 0.8011 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.665e-05/0.3511, allocations: 45.69 kB / 0.8011 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.3512, allocations: 60.36 kB / 0.8012 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.3526, allocations: 1.041 MB / 0.8022 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/0.3527, allocations: 11.84 kB / 0.8022 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.374e-05/0.3527, allocations: 24 kB / 0.8022 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.91e-05/0.3528, allocations: 73.27 kB / 0.8023 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009914/0.3538, allocations: 0.6918 MB / 0.803 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005128/0.359, allocations: 5.745 MB / 0.8086 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008999/0.3599, allocations: 0.61 MB / 0.8092 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007762/0.3607, allocations: 420.6 kB / 0.8096 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.3607, allocations: 4 kB / 0.8096 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.3608, allocations: 38.56 kB / 0.8096 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 3.457e-06/0.3608, allocations: 0 / 0.8096 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.004569/0.3653, allocations: 2.061 MB / 0.8116 GB, free: 15.7 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.3654, allocations: 55.41 kB / 0.8117 GB, free: 15.64 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005361/0.3659, allocations: 466.8 kB / 0.8121 GB, free: 15.18 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.366, allocations: 29.7 kB / 0.8121 GB, free: 15.14 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.3663, allocations: 395 kB / 0.8125 GB, free: 14.75 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.3664, allocations: 149.8 kB / 0.8127 GB, free: 14.6 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.3666, allocations: 106.2 kB / 0.8128 GB, free: 14.49 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3667, allocations: 374.8 kB / 0.8131 GB, free: 14.11 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.3671, allocations: 241.2 kB / 0.8133 GB, free: 13.88 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006051/0.3677, allocations: 464.9 kB / 0.8138 GB, free: 13.33 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009467/0.3686, allocations: 0.7558 MB / 0.8145 GB, free: 12.48 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.3687, allocations: 4 kB / 0.8145 GB, free: 12.47 MB / 0.6388 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001896/0.3706, allocations: 1.066 MB / 0.8156 GB, free: 11.39 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/0.3706, allocations: 11.94 kB / 0.8156 GB, free: 11.38 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.3706, allocations: 11.94 kB / 0.8156 GB, free: 11.36 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.3718, allocations: 327.4 kB / 0.8159 GB, free: 11.03 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.3722, allocations: 95.81 kB / 0.816 GB, free: 10.94 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008477/0.3807, allocations: 7.523 MB / 0.8233 GB, free: 2.848 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006728/0.3815, allocations: 28.02 kB / 0.8234 GB, free: 2.82 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.66e-05/0.3815, allocations: 28 kB / 0.8234 GB, free: 2.793 MB / 0.6388 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005323/0.382, allocations: 241.6 kB / 0.8236 GB, free: 2.547 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.3822, allocations: 63.28 kB / 0.8237 GB, free: 2.484 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001868/0.384, allocations: 0.9084 MB / 0.8246 GB, free: 1.559 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.3841, allocations: 7.984 kB / 0.8246 GB, free: 1.551 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.3841, allocations: 4.281 kB / 0.8246 GB, free: 1.547 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.3841, allocations: 7.984 kB / 0.8246 GB, free: 1.539 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002688/0.3868, allocations: 1.708 MB / 0.8263 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.3868, allocations: 12.12 kB / 0.8263 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.387, allocations: 39.91 kB / 0.8263 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009327/0.3879, allocations: 327.1 kB / 0.8266 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.388, allocations: 15.94 kB / 0.8266 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008071/0.396, allocations: 7.506 MB / 0.834 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.3961, allocations: 4 kB / 0.834 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/0.3982, allocations: 1.003 MB / 0.835 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003575/0.3985, allocations: 176.3 kB / 0.8351 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.3987, allocations: 11.98 kB / 0.8351 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.399, allocations: 19.98 kB / 0.8352 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.3992, allocations: 47.88 kB / 0.8352 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.3992, allocations: 12 kB / 0.8352 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004424/0.3997, allocations: 311.2 kB / 0.8355 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3997, allocations: 0 / 0.8355 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009443/0.4006, allocations: 192 kB / 0.8357 GB, free: 5.449 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0002071/0.4008, allocations: 131 kB / 0.8358 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002373/0.4032, allocations: 1.258 MB / 0.837 GB, free: 4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/0.4032, allocations: 0 / 0.837 GB, free: 4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001391/0.4046, allocations: 0.8615 MB / 0.8379 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.406, allocations: 206.7 kB / 0.8381 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.4088, allocations: 1.248 MB / 0.8393 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007143/0.4095, allocations: 0.9921 MB / 0.8403 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003733/0.4099, allocations: 97.19 kB / 0.8404 GB, free: 500 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.298e-05/0.41, allocations: 35.44 kB / 0.8404 GB, free: 464 kB / 0.6544 GB Notification: Performance of SimCode: time 8.82e-07/0.41, allocations: 0 / 0.8404 GB, free: 464 kB / 0.6544 GB Notification: Performance of Templates: time 0.0205/0.4305, allocations: 9.973 MB / 0.8501 GB, free: 6.582 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)