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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.83/1.83, allocations: 292.6 MB / 307.5 MB, free: 5.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001856/0.001855, allocations: 188.8 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.948/1.948, allocations: 205.4 MB / 0.6367 GB, free: 8.637 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00086/0.0008599, allocations: 94.41 kB / 0.751 GB, free: 62.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003785, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3136, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.818/1.132, allocations: 164.6 MB / 1.149 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/1.132, allocations: 100.8 kB / 1.149 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.08908/1.221, allocations: 37.13 MB / 1.185 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.24e-06/1.221, allocations: 0 / 1.185 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001028/1.221, allocations: 27.88 kB / 1.185 GB, free: 12.5 MB / 0.7605 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.002593/1.224, allocations: 1.048 MB / 1.187 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/1.224, allocations: 8.031 kB / 1.187 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/1.226, allocations: 238.6 kB / 1.187 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/1.227, allocations: 0.5543 MB / 1.187 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/1.227, allocations: 42 kB / 1.187 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/1.227, allocations: 67.98 kB / 1.187 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/1.229, allocations: 1.135 MB / 1.188 GB, free: 9.172 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/1.229, allocations: 3.938 kB / 1.188 GB, free: 9.168 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-05/1.229, allocations: 39.98 kB / 1.189 GB, free: 9.129 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-05/1.229, allocations: 49.28 kB / 1.189 GB, free: 9.078 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/1.23, allocations: 0.7504 MB / 1.189 GB, free: 8.328 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006253/1.236, allocations: 5.908 MB / 1.195 GB, free: 2 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000991/1.238, allocations: 0.5547 MB / 1.196 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/1.238, allocations: 8.438 kB / 1.196 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/1.238, allocations: 39 kB / 1.196 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=47): time 2.535e-06/1.238, allocations: 0 / 1.196 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48): time 0.003994/1.242, allocations: 1.98 MB / 1.198 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/1.242, allocations: 59.84 kB / 1.198 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007125/1.242, allocations: 0.4954 MB / 1.198 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/1.242, allocations: 33.69 kB / 1.198 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003079/1.243, allocations: 399.2 kB / 1.199 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/1.243, allocations: 173.6 kB / 1.199 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/1.243, allocations: 12 kB / 1.199 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001919/1.243, allocations: 374.7 kB / 1.199 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004216/1.244, allocations: 277.1 kB / 1.199 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005657/1.244, allocations: 466.8 kB / 1.2 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005211/1.245, allocations: 334.1 kB / 1.2 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.245, allocations: 4 kB / 1.2 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001828/1.247, allocations: 1.056 MB / 1.201 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/1.247, allocations: 12.16 kB / 1.201 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/1.247, allocations: 4 kB / 1.201 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009028/1.248, allocations: 283.1 kB / 1.201 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/1.248, allocations: 121.6 kB / 1.202 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006506/1.255, allocations: 6.701 MB / 1.208 GB, free: 3.879 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007222/1.255, allocations: 35.97 kB / 1.208 GB, free: 3.844 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.737e-05/1.255, allocations: 28 kB / 1.208 GB, free: 3.816 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005302/1.256, allocations: 253.6 kB / 1.208 GB, free: 3.559 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/1.256, allocations: 71.16 kB / 1.208 GB, free: 3.488 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/1.258, allocations: 0.8887 MB / 1.209 GB, free: 2.574 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/1.258, allocations: 4 kB / 1.209 GB, free: 2.57 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.258, allocations: 7.938 kB / 1.209 GB, free: 2.562 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/1.258, allocations: 0 / 1.209 GB, free: 2.562 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/1.261, allocations: 1.71 MB / 1.211 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/1.261, allocations: 0 / 1.211 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/1.261, allocations: 63.89 kB / 1.211 GB, free: 0.707 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007835/1.262, allocations: 269.7 kB / 1.211 GB, free: 444 kB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/1.262, allocations: 15.95 kB / 1.211 GB, free: 428 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006323/1.268, allocations: 6.693 MB / 1.218 GB, free: 9.195 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.268, allocations: 0 / 1.218 GB, free: 9.195 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/1.27, allocations: 1.056 MB / 1.219 GB, free: 8.059 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004062/1.27, allocations: 188.2 kB / 1.219 GB, free: 7.855 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/1.27, allocations: 12 kB / 1.219 GB, free: 7.844 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/1.271, allocations: 23.97 kB / 1.219 GB, free: 7.82 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/1.271, allocations: 51.88 kB / 1.219 GB, free: 7.77 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.102e-05/1.271, allocations: 16 kB / 1.219 GB, free: 7.754 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.000503/1.272, allocations: 391 kB / 1.22 GB, free: 7.379 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.61e-07/1.272, allocations: 0 / 1.22 GB, free: 7.379 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0008693/1.272, allocations: 239.9 kB / 1.22 GB, free: 7.145 MB / 0.7917 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001937/1.273, allocations: 115.2 kB / 1.22 GB, free: 7.02 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001961/1.275, allocations: 1.257 MB / 1.221 GB, free: 5.719 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.275, allocations: 0 / 1.221 GB, free: 5.719 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001215/1.276, allocations: 0.8893 MB / 1.222 GB, free: 4.777 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008761/1.277, allocations: 195.6 kB / 1.222 GB, free: 4.59 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/1.279, allocations: 1.592 MB / 1.224 GB, free: 2.953 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006743/1.28, allocations: 1.024 MB / 1.225 GB, free: 1.902 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004592/1.28, allocations: 119.8 kB / 1.225 GB, free: 1.785 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/1.281, allocations: 47.42 kB / 1.225 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of SimCode: time 3.51e-07/1.281, allocations: 0 / 1.225 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of Templates: time 0.02048/1.301, allocations: 10.31 MB / 1.235 GB, free: 7.543 MB / 0.8073 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)