Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.328/1.328, allocations: 251.5 MB / 267.4 MB, free: 10.89 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009407/0.0009405, allocations: 180.3 kB / 326.5 MB, free: 2.656 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205 MB / 0.5766 GB, free: 20.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007651/0.0007652, allocations: 86.58 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003153, allocations: 12.28 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2037, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02539/0.2291, allocations: 34.38 MB / 0.9303 GB, free: 33.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01351/0.2427, allocations: 9.973 MB / 0.9401 GB, free: 23.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003126/0.2458, allocations: 131.3 kB / 0.9402 GB, free: 23.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.007615/0.2535, allocations: 3.542 MB / 0.9436 GB, free: 19.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005065/0.2585, allocations: 1.905 MB / 0.9455 GB, free: 18.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004135/0.2627, allocations: 1.782 MB / 0.9472 GB, free: 16.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.008483/0.2712, allocations: 11.2 MB / 0.9582 GB, free: 5.059 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01434/0.2856, allocations: 10.66 MB / 0.9686 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005192/0.2908, allocations: 2.478 MB / 0.971 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005309/0.2961, allocations: 3.203 MB / 0.9741 GB, free: 4.582 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001422/0.2976, allocations: 280 kB / 0.9744 GB, free: 4.309 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003508/0.3011, allocations: 1.271 MB / 0.9756 GB, free: 3.035 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.003069/0.3042, allocations: 2.104 MB / 0.9777 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.004622/0.3088, allocations: 2.507 MB / 0.9801 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.009309/0.3181, allocations: 8.591 MB / 0.9885 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.3182, allocations: 0 / 0.9885 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3182, allocations: 0 / 0.9885 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000306/0.3185, allocations: 0 / 0.9885 GB, free: 5.793 MB / 0.6355 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.01026/0.3288, allocations: 4.357 MB / 0.9928 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3288, allocations: 8.031 kB / 0.9928 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00608/0.3349, allocations: 0.9665 MB / 0.9937 GB, free: 396 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006144/0.3411, allocations: 2.995 MB / 0.9967 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003/0.3414, allocations: 357.9 kB / 0.997 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001182/0.3426, allocations: 472.2 kB / 0.9975 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01409/0.3567, allocations: 7.902 MB / 1.005 GB, free: 4.258 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/0.3569, allocations: 19.88 kB / 1.005 GB, free: 4.238 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005306/0.3574, allocations: 208 kB / 1.005 GB, free: 4.035 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005168/0.3579, allocations: 369.1 kB / 1.006 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/0.3681, allocations: 5.945 MB / 1.012 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03558/0.4037, allocations: 36.26 MB / 1.047 GB, free: 6.219 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003017/0.4067, allocations: 2.135 MB / 1.049 GB, free: 4.074 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/0.4085, allocations: 1.48 MB / 1.05 GB, free: 2.594 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.84e-05/0.4086, allocations: 25.3 kB / 1.051 GB, free: 2.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.4087, allocations: 55.81 kB / 1.051 GB, free: 2.508 MB / 0.698 GB Notification: Performance of pre-optimization done (n=157): time 3.747e-06/0.4087, allocations: 0 / 1.051 GB, free: 2.508 MB / 0.698 GB Notification: Performance of matching and sorting (n=160): time 0.43/0.8387, allocations: 7.573 MB / 1.058 GB, free: 139.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.8387, allocations: 70.31 kB / 1.058 GB, free: 139.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002725/0.8415, allocations: 1.856 MB / 1.06 GB, free: 139.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.8416, allocations: 54.89 kB / 1.06 GB, free: 139.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001799/0.8434, allocations: 2.124 MB / 1.062 GB, free: 138.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004988/0.8439, allocations: 0.558 MB / 1.063 GB, free: 138.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003166/0.8443, allocations: 173.4 kB / 1.063 GB, free: 138.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.429e-05/0.8443, allocations: 302.4 kB / 1.063 GB, free: 137.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/0.8463, allocations: 1.063 MB / 1.064 GB, free: 137.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002521/0.8489, allocations: 1.764 MB / 1.066 GB, free: 137 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00433/0.8532, allocations: 3.046 MB / 1.069 GB, free: 135.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/0.8532, allocations: 6.656 kB / 1.069 GB, free: 135.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007416/0.8607, allocations: 3.921 MB / 1.073 GB, free: 133.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.004e-05/0.8607, allocations: 15.12 kB / 1.073 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.872e-05/0.8608, allocations: 24.27 kB / 1.073 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002715/0.8635, allocations: 0.9347 MB / 1.073 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.8651, allocations: 429 kB / 1.074 GB, free: 133.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01611/0.8812, allocations: 21.07 MB / 1.094 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/0.8835, allocations: 129.9 kB / 1.095 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/0.8837, allocations: 94.53 kB / 1.095 GB, free: 115.3 MB / 0.698 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.003109/0.8868, allocations: 1.648 MB / 1.096 GB, free: 114.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005108/0.8873, allocations: 258.5 kB / 1.097 GB, free: 114.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006317/0.8937, allocations: 3.26 MB / 1.1 GB, free: 113.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.8937, allocations: 17.47 kB / 1.1 GB, free: 113.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.896e-05/0.8937, allocations: 11.78 kB / 1.1 GB, free: 113.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.8938, allocations: 11.39 kB / 1.1 GB, free: 113.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/0.9051, allocations: 7.557 MB / 1.107 GB, free: 108.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.9051, allocations: 11.94 kB / 1.107 GB, free: 108.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007973/0.9059, allocations: 212.9 kB / 1.107 GB, free: 108.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002002/0.908, allocations: 0.8952 MB / 1.108 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.854e-05/0.9081, allocations: 35.59 kB / 1.108 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01363/0.9217, allocations: 21.04 MB / 1.129 GB, free: 86.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.9217, allocations: 4 kB / 1.129 GB, free: 86.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004626/0.9264, allocations: 3.387 MB / 1.132 GB, free: 83.15 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009121/0.9273, allocations: 0.5253 MB / 1.133 GB, free: 82.61 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/0.9276, allocations: 32 kB / 1.133 GB, free: 82.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009375/0.9285, allocations: 95.88 kB / 1.133 GB, free: 82.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003395/0.9289, allocations: 141 kB / 1.133 GB, free: 82.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.76e-05/0.929, allocations: 44 kB / 1.133 GB, free: 82.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001322/0.9303, allocations: 1.225 MB / 1.134 GB, free: 81.06 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.92e-07/0.9303, allocations: 0 / 1.134 GB, free: 81.06 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00272/0.933, allocations: 0.9085 MB / 1.135 GB, free: 80.15 MB / 0.698 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.0002231/0.9332, allocations: 161.8 kB / 1.135 GB, free: 79.99 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005023/0.9383, allocations: 4.42 MB / 1.139 GB, free: 75.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.9383, allocations: 4 kB / 1.139 GB, free: 75.42 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003151/0.9415, allocations: 2.99 MB / 1.142 GB, free: 72.28 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004313/0.9458, allocations: 0.7675 MB / 1.143 GB, free: 71.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/0.9584, allocations: 10.33 MB / 1.153 GB, free: 61.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002675/0.9611, allocations: 3.271 MB / 1.156 GB, free: 57.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000686/0.9618, allocations: 163.4 kB / 1.157 GB, free: 57.64 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/0.9618, allocations: 0 / 1.157 GB, free: 57.64 MB / 0.698 GB Notification: Performance of Templates: time 0.6362/1.598, allocations: 339.1 MB / 1.488 GB, free: 222.1 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)