Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.064/2.064, allocations: 287.5 MB / 302.6 MB, free: 8.402 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.00125/0.00125, allocations: 185.6 kB / 371.2 MB, free: 10.82 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.773/1.773, allocations: 205.4 MB / 0.6299 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008166/0.0008166, allocations: 92.38 kB / 0.7432 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005234/0.0005234, allocations: 16.09 kB / 0.8661 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2409, allocations: 115.3 MB / 0.9787 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.02871/0.2696, allocations: 34.17 MB / 1.012 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02166/0.2913, allocations: 12.43 MB / 1.024 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004743/0.2961, allocations: 143.1 kB / 1.024 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002764/0.2989, allocations: 0.748 MB / 1.025 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007305/0.3062, allocations: 2.056 MB / 1.027 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006182/0.3124, allocations: 1.615 MB / 1.029 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0149/0.3274, allocations: 10.7 MB / 1.039 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02143/0.3488, allocations: 13.03 MB / 1.052 GB, free: 0.9844 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00839/0.3573, allocations: 2.945 MB / 1.055 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007864/0.3652, allocations: 3.773 MB / 1.058 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001227/0.3664, allocations: 320 kB / 1.059 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003295/0.3697, allocations: 0.7727 MB / 1.059 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.003173/0.3729, allocations: 2.435 MB / 1.062 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002636/0.3756, allocations: 1.175 MB / 1.063 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.5588/0.9344, allocations: 9.716 MB / 1.072 GB, free: 28.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.9345, allocations: 1.25 kB / 1.072 GB, free: 28.82 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.959e-06/0.9345, allocations: 0.6562 kB / 1.072 GB, free: 28.82 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0006096/0.9351, allocations: 3.547 kB / 1.072 GB, free: 28.82 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01993/0.9551, allocations: 5.142 MB / 1.077 GB, free: 26.73 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.9551, allocations: 9.656 kB / 1.077 GB, free: 26.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/0.9666, allocations: 1.299 MB / 1.079 GB, free: 26.42 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01176/0.9784, allocations: 3.568 MB / 1.082 GB, free: 25.64 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006658/0.9791, allocations: 383.4 kB / 1.083 GB, free: 25.62 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003545/0.9826, allocations: 0.5008 MB / 1.083 GB, free: 25.62 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02684/1.009, allocations: 8.839 MB / 1.092 GB, free: 24.56 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002401/1.01, allocations: 33.97 kB / 1.092 GB, free: 24.55 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001339/1.011, allocations: 223.4 kB / 1.092 GB, free: 24.55 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002443/1.014, allocations: 0.6293 MB / 1.093 GB, free: 24.54 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01862/1.032, allocations: 6.979 MB / 1.099 GB, free: 24.49 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06432/1.097, allocations: 40.41 MB / 1.139 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005095/1.102, allocations: 2.882 MB / 1.142 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004254/1.106, allocations: 2.657 MB / 1.144 GB, free: 11.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/1.106, allocations: 27.78 kB / 1.144 GB, free: 11.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.657e-05/1.106, allocations: 67.75 kB / 1.144 GB, free: 11.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=265): time 5.8e-06/1.106, allocations: 3.562 kB / 1.144 GB, free: 11.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=424): time 0.2983/1.405, allocations: 77.44 MB / 1.22 GB, free: 9.805 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/1.405, allocations: 94.73 kB / 1.22 GB, free: 9.699 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003972/1.409, allocations: 2.328 MB / 1.222 GB, free: 7.359 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001147/1.41, allocations: 97.7 kB / 1.222 GB, free: 7.258 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002092/1.412, allocations: 2.338 MB / 1.225 GB, free: 4.902 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.002272/1.414, allocations: 1.437 MB / 1.226 GB, free: 3.477 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009325/1.415, allocations: 88 kB / 1.226 GB, free: 3.391 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003631/1.416, allocations: 483.2 kB / 1.227 GB, free: 2.91 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005487/1.421, allocations: 2.984 MB / 1.23 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005971/1.427, allocations: 3.83 MB / 1.233 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/1.439, allocations: 7.353 MB / 1.241 GB, free: 4.184 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.841e-05/1.439, allocations: 8 kB / 1.241 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03117/1.47, allocations: 12.51 MB / 1.253 GB, free: 7.867 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 7.079e-05/1.47, allocations: 16 kB / 1.253 GB, free: 7.852 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.715e-05/1.47, allocations: 23.56 kB / 1.253 GB, free: 7.832 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0245/1.495, allocations: 6.015 MB / 1.259 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002395/1.497, allocations: 0.4894 MB / 1.259 GB, free: 1.316 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08365/1.581, allocations: 67.21 MB / 1.325 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004495/1.585, allocations: 211.8 kB / 1.325 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009119/1.586, allocations: 160.5 kB / 1.325 GB, free: 10.84 MB / 0.8698 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 (269): * Single equations (assignments): 245 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004559/1.591, allocations: 1.991 MB / 1.327 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001323/1.592, allocations: 391.4 kB / 1.327 GB, free: 8.48 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02913/1.621, allocations: 12.2 MB / 1.339 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.39e-05/1.621, allocations: 40 kB / 1.339 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001581/1.622, allocations: 55.92 kB / 1.339 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.209e-05/1.622, allocations: 23.86 kB / 1.339 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04451/1.666, allocations: 19.14 MB / 1.358 GB, free: 9.125 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-05/1.666, allocations: 8 kB / 1.358 GB, free: 9.117 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/1.668, allocations: 284.4 kB / 1.358 GB, free: 8.852 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02119/1.689, allocations: 5.563 MB / 1.364 GB, free: 3.242 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009275/1.69, allocations: 83.98 kB / 1.364 GB, free: 3.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5518/2.242, allocations: 64.83 MB / 1.427 GB, free: 331.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/2.242, allocations: 12.06 kB / 1.427 GB, free: 331.8 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03482/2.277, allocations: 15.56 MB / 1.442 GB, free: 330.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00359/2.28, allocations: 1.047 MB / 1.443 GB, free: 330.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/2.282, allocations: 83.86 kB / 1.444 GB, free: 330.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003014/2.285, allocations: 216.1 kB / 1.444 GB, free: 330.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001678/2.286, allocations: 405.1 kB / 1.444 GB, free: 330.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003379/2.287, allocations: 105.3 kB / 1.444 GB, free: 330.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00266/2.289, allocations: 1.534 MB / 1.446 GB, free: 330.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.81e-07/2.289, allocations: 1.5 kB / 1.446 GB, free: 330.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007178/2.296, allocations: 1.848 MB / 1.448 GB, free: 330.7 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005955/2.297, allocations: 221.7 kB / 1.448 GB, free: 330.6 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01939/2.316, allocations: 12.18 MB / 1.46 GB, free: 324.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/2.317, allocations: 4.406 kB / 1.46 GB, free: 324.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01382/2.33, allocations: 8.383 MB / 1.468 GB, free: 319.7 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009301/2.34, allocations: 1.089 MB / 1.469 GB, free: 319.4 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02373/2.363, allocations: 14.25 MB / 1.483 GB, free: 312 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00399/2.368, allocations: 4.089 MB / 1.487 GB, free: 310.6 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002645/2.37, allocations: 0.6613 MB / 1.487 GB, free: 310.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004706/2.371, allocations: 182.6 kB / 1.488 GB, free: 310.4 MB / 0.9636 GB Notification: Performance of SimCode: time 6.61e-07/2.371, allocations: 0 / 1.488 GB, free: 310.4 MB / 0.9636 GB Notification: Performance of Templates: time 0.1397/2.51, allocations: 102.5 MB / 1.588 GB, free: 218.8 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)