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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001093/0.001092, allocations: 176.6 kB / 326.5 MB, free: 2.68 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.696/1.696, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0007957/0.0007958, allocations: 86.2 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003004/0.0003005, allocations: 8.875 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1919, allocations: 105.4 MB / 0.8968 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02833/0.2203, allocations: 37.13 MB / 0.933 GB, free: 30.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01608/0.2364, allocations: 11.04 MB / 0.9438 GB, free: 19.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003886/0.2403, allocations: 139.3 kB / 0.9439 GB, free: 19.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.008789/0.2491, allocations: 4.038 MB / 0.9479 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005951/0.2551, allocations: 2.096 MB / 0.9499 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005015/0.2601, allocations: 1.969 MB / 0.9518 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01112/0.2713, allocations: 13.18 MB / 0.9647 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01984/0.2911, allocations: 12.37 MB / 0.9768 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005975/0.2971, allocations: 2.91 MB / 0.9796 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006725/0.3039, allocations: 3.877 MB / 0.9834 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001863/0.3058, allocations: 344 kB / 0.9838 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004308/0.3101, allocations: 1.326 MB / 0.985 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.004107/0.3142, allocations: 2.525 MB / 0.9875 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.006343/0.3206, allocations: 2.942 MB / 0.9904 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.3321, allocations: 10.22 MB / 1 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3322, allocations: 3.984 kB / 1 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3322, allocations: 0 / 1 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004633/0.3326, allocations: 0 / 1 GB, free: 9.664 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01213/0.3448, allocations: 5.09 MB / 1.005 GB, free: 4.504 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3448, allocations: 12.03 kB / 1.005 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005855/0.3507, allocations: 1.075 MB / 1.006 GB, free: 3.41 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007072/0.3578, allocations: 3.419 MB / 1.01 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000381/0.3582, allocations: 427.7 kB / 1.01 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001752/0.36, allocations: 0.5433 MB / 1.011 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02058/0.3806, allocations: 9.37 MB / 1.02 GB, free: 5.27 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002284/0.3808, allocations: 19.78 kB / 1.02 GB, free: 5.25 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001426/0.3823, allocations: 248 kB / 1.02 GB, free: 5.008 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006131/0.3829, allocations: 426.9 kB / 1.02 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01468/0.3976, allocations: 7.123 MB / 1.027 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4534/0.851, allocations: 41.36 MB / 1.068 GB, free: 122.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005516/0.8565, allocations: 3.11 MB / 1.071 GB, free: 122 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003259/0.8598, allocations: 2.127 MB / 1.073 GB, free: 122 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.86, allocations: 22.62 kB / 1.073 GB, free: 122 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/0.8601, allocations: 62.19 kB / 1.073 GB, free: 121.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=209): time 4.158e-06/0.8601, allocations: 0 / 1.073 GB, free: 121.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=212): time 0.02461/0.8847, allocations: 10.62 MB / 1.083 GB, free: 120 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.8848, allocations: 77.06 kB / 1.083 GB, free: 119.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002627/0.8874, allocations: 2.004 MB / 1.085 GB, free: 119.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002143/0.8876, allocations: 61.55 kB / 1.085 GB, free: 119.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001232/0.8889, allocations: 2.406 MB / 1.088 GB, free: 117.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005417/0.8894, allocations: 0.7244 MB / 1.089 GB, free: 116.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/0.8897, allocations: 211.6 kB / 1.089 GB, free: 116.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.838e-05/0.8897, allocations: 305.1 kB / 1.089 GB, free: 116.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/0.8914, allocations: 1.372 MB / 1.09 GB, free: 115.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002011/0.8934, allocations: 2.109 MB / 1.092 GB, free: 114.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005049/0.8985, allocations: 3.766 MB / 1.096 GB, free: 111.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.8985, allocations: 7.906 kB / 1.096 GB, free: 111.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007413/0.9059, allocations: 5.065 MB / 1.101 GB, free: 109.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/0.906, allocations: 23.23 kB / 1.101 GB, free: 109.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-05/0.906, allocations: 22.97 kB / 1.101 GB, free: 109.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003272/0.9093, allocations: 1.578 MB / 1.103 GB, free: 108.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.9108, allocations: 451.7 kB / 1.103 GB, free: 108.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01762/0.9284, allocations: 17.11 MB / 1.12 GB, free: 94.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002435/0.9309, allocations: 147.9 kB / 1.12 GB, free: 94.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004343/0.9314, allocations: 108 kB / 1.12 GB, free: 94.36 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003698/0.9351, allocations: 1.946 MB / 1.122 GB, free: 92.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007961/0.9359, allocations: 288.7 kB / 1.122 GB, free: 92.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006427/0.9423, allocations: 4.447 MB / 1.127 GB, free: 87.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.9424, allocations: 21.12 kB / 1.127 GB, free: 87.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.892e-05/0.9424, allocations: 20 kB / 1.127 GB, free: 87.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/0.9424, allocations: 15.89 kB / 1.127 GB, free: 87.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/0.9579, allocations: 9.665 MB / 1.136 GB, free: 77.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.9579, allocations: 4.562 kB / 1.136 GB, free: 77.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000895/0.9588, allocations: 235.6 kB / 1.136 GB, free: 77.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002995/0.9619, allocations: 1.43 MB / 1.138 GB, free: 76.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/0.962, allocations: 36 kB / 1.138 GB, free: 76.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0167/0.9787, allocations: 17.1 MB / 1.154 GB, free: 58.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.9788, allocations: 11.94 kB / 1.154 GB, free: 58.47 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006596/0.9854, allocations: 4.544 MB / 1.159 GB, free: 53.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/0.9868, allocations: 0.6304 MB / 1.159 GB, free: 53.19 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006339/0.9874, allocations: 47.31 kB / 1.16 GB, free: 53.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/0.9889, allocations: 115.9 kB / 1.16 GB, free: 53.04 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004433/0.9894, allocations: 185.6 kB / 1.16 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/0.9895, allocations: 60 kB / 1.16 GB, free: 52.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001828/0.9913, allocations: 1.319 MB / 1.161 GB, free: 51.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9914, allocations: 0 / 1.161 GB, free: 51.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003436/0.9948, allocations: 1.141 MB / 1.162 GB, free: 50.32 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003354/0.9951, allocations: 167.9 kB / 1.162 GB, free: 50.15 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006382/1.002, allocations: 4.698 MB / 1.167 GB, free: 45.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/1.002, allocations: 1 kB / 1.167 GB, free: 45.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003985/1.006, allocations: 2.92 MB / 1.17 GB, free: 42.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005498/1.011, allocations: 0.8321 MB / 1.171 GB, free: 41.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/1.029, allocations: 12.51 MB / 1.183 GB, free: 29.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005234/1.034, allocations: 3.796 MB / 1.187 GB, free: 25.19 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008513/1.035, allocations: 159.4 kB / 1.187 GB, free: 25.04 MB / 0.698 GB Notification: Performance of SimCode: time 1.242e-06/1.035, allocations: 0 / 1.187 GB, free: 25.04 MB / 0.698 GB Notification: Performance of Templates: time 0.2104/1.246, allocations: 171.2 MB / 1.354 GB, free: 13.94 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)