Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.001328/0.001329, allocations: 108 kB / 16.29 MB, free: 6.016 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.00105/0.001051, allocations: 185.8 kB / 17.22 MB, free: 5.621 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.571/1.571, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.888/1.888, allocations: 292.3 MB / 0.5495 GB, free: 17.63 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.00199/0.00199, allocations: 67.91 kB / 0.6722 GB, free: 6.582 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2648, allocations: 114.6 MB / 0.7841 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.4455/0.7104, allocations: 6.761 MB / 0.7907 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005075/0.7155, allocations: 3.09 MB / 0.7937 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000632/0.7162, allocations: 26.91 kB / 0.7937 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.7184, allocations: 0.9437 MB / 0.7946 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.7195, allocations: 0.5055 MB / 0.7951 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.7206, allocations: 445.6 kB / 0.7956 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001248/0.7219, allocations: 1.23 MB / 0.7968 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008306/0.7227, allocations: 0.6619 MB / 0.7974 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006471/0.7234, allocations: 474.4 kB / 0.7979 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006634/0.724, allocations: 0.5181 MB / 0.7984 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.7242, allocations: 66.69 kB / 0.7984 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008202/0.725, allocations: 383 kB / 0.7988 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003131/0.7253, allocations: 311.1 kB / 0.7991 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004396/0.7258, allocations: 452.1 kB / 0.7995 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.7273, allocations: 1.22 MB / 0.8007 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.7273, allocations: 0.6562 kB / 0.8007 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7274, allocations: 0 / 0.8007 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.788e-05/0.7274, allocations: 0 / 0.8007 GB, free: 43.11 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002027/0.7294, allocations: 1.166 MB / 0.8019 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.7295, allocations: 10.42 kB / 0.8019 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.731, allocations: 242.5 kB / 0.8021 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008695/0.7319, allocations: 0.5594 MB / 0.8026 GB, free: 41.87 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.085e-05/0.732, allocations: 48.8 kB / 0.8027 GB, free: 41.85 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.7321, allocations: 62.25 kB / 0.8028 GB, free: 41.83 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.7338, allocations: 1.097 MB / 0.8038 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.7338, allocations: 2.266 kB / 0.8038 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.33e-05/0.7339, allocations: 25.81 kB / 0.8038 GB, free: 41.18 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001635/0.7341, allocations: 85.17 kB / 0.8039 GB, free: 41.17 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.7353, allocations: 0.7533 MB / 0.8047 GB, free: 40.9 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005102/0.7404, allocations: 5.877 MB / 0.8104 GB, free: 35.9 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.7416, allocations: 0.5506 MB / 0.8109 GB, free: 35.69 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004561/0.742, allocations: 330.3 kB / 0.8113 GB, free: 35.56 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.005e-05/0.7421, allocations: 5.656 kB / 0.8113 GB, free: 35.56 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.7421, allocations: 39.95 kB / 0.8113 GB, free: 35.52 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 1.744e-06/0.7421, allocations: 0 / 0.8113 GB, free: 35.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.003996/0.7461, allocations: 1.988 MB / 0.8132 GB, free: 34.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.7462, allocations: 58.62 kB / 0.8133 GB, free: 34.4 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007422/0.7469, allocations: 0.5635 MB / 0.8138 GB, free: 34.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.747, allocations: 31.7 kB / 0.8139 GB, free: 34.1 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.7472, allocations: 422.8 kB / 0.8143 GB, free: 33.76 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.7474, allocations: 167 kB / 0.8144 GB, free: 33.63 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.7476, allocations: 128.9 kB / 0.8146 GB, free: 33.56 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.7478, allocations: 383.2 kB / 0.8149 GB, free: 33.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004435/0.7482, allocations: 274 kB / 0.8152 GB, free: 33.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005093/0.7487, allocations: 491.4 kB / 0.8157 GB, free: 32.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009765/0.7497, allocations: 0.8146 MB / 0.8165 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.7497, allocations: 2.312 kB / 0.8165 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001777/0.7515, allocations: 1.084 MB / 0.8175 GB, free: 31.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.7515, allocations: 8 kB / 0.8175 GB, free: 31.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.7516, allocations: 7.219 kB / 0.8175 GB, free: 31.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008452/0.7524, allocations: 275.7 kB / 0.8178 GB, free: 31.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004768/0.7529, allocations: 130.9 kB / 0.8179 GB, free: 31.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00605/0.759, allocations: 7.144 MB / 0.8249 GB, free: 25.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007572/0.7597, allocations: 40.48 kB / 0.8249 GB, free: 25.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.879e-05/0.7598, allocations: 27.91 kB / 0.825 GB, free: 25.41 MB / 0.6544 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.000415/0.7602, allocations: 254.5 kB / 0.8252 GB, free: 25.22 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.7604, allocations: 72.77 kB / 0.8253 GB, free: 25.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.762, allocations: 0.8931 MB / 0.8261 GB, free: 24.79 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.762, allocations: 6.469 kB / 0.8262 GB, free: 24.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.762, allocations: 3.625 kB / 0.8262 GB, free: 24.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.7621, allocations: 2.344 kB / 0.8262 GB, free: 24.79 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002785/0.7648, allocations: 1.727 MB / 0.8278 GB, free: 23.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.7649, allocations: 1.625 kB / 0.8278 GB, free: 23.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.7652, allocations: 64.03 kB / 0.8279 GB, free: 23.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007453/0.7659, allocations: 266.4 kB / 0.8282 GB, free: 23.82 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.766, allocations: 14.28 kB / 0.8282 GB, free: 23.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005789/0.7718, allocations: 7.116 MB / 0.8351 GB, free: 17.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.7718, allocations: 2.469 kB / 0.8351 GB, free: 17.61 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.7738, allocations: 0.9961 MB / 0.8361 GB, free: 17.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003942/0.7742, allocations: 193.9 kB / 0.8363 GB, free: 16.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.019e-05/0.7743, allocations: 9.203 kB / 0.8363 GB, free: 16.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.7747, allocations: 33.98 kB / 0.8363 GB, free: 16.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.7748, allocations: 41.05 kB / 0.8364 GB, free: 16.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.7749, allocations: 18.97 kB / 0.8364 GB, free: 16.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005026/0.7754, allocations: 393.7 kB / 0.8368 GB, free: 16.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7754, allocations: 0 / 0.8368 GB, free: 16.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009362/0.7763, allocations: 224.8 kB / 0.837 GB, free: 16.69 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,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.0001504/0.7765, allocations: 112.3 kB / 0.8371 GB, free: 16.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002083/0.7786, allocations: 1.279 MB / 0.8383 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.7786, allocations: 1.5 kB / 0.8383 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.7798, allocations: 0.8825 MB / 0.8392 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.7808, allocations: 221.6 kB / 0.8394 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.7831, allocations: 1.339 MB / 0.8407 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/0.7837, allocations: 1.012 MB / 0.8417 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004516/0.7842, allocations: 120.9 kB / 0.8418 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.7843, allocations: 42.42 kB / 0.8419 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of SimCode: time 1.042e-06/0.7843, allocations: 0 / 0.8419 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of Templates: time 0.02461/0.809, allocations: 11.2 MB / 0.8528 GB, free: 10.95 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)