Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002099/0.002099, allocations: 192.3 kB / 16.13 MB, free: 6.699 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.435/1.435, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.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.74/1.74, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001288/0.001288, allocations: 62.75 kB / 0.6708 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2373, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04147/0.2788, allocations: 37.19 MB / 0.819 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02275/0.3016, allocations: 13.03 MB / 0.8317 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005882/0.3075, allocations: 155.1 kB / 0.8319 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01072/0.3183, allocations: 3.6 MB / 0.8354 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007459/0.3258, allocations: 2.356 MB / 0.8377 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007264/0.3331, allocations: 2.471 MB / 0.8401 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0169/0.35, allocations: 13.36 MB / 0.8532 GB, free: 5.621 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01866/0.3687, allocations: 11.69 MB / 0.8646 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009635/0.3784, allocations: 3.401 MB / 0.8679 GB, free: 6.391 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01066/0.3891, allocations: 4.455 MB / 0.8722 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002474/0.3917, allocations: 0.4922 MB / 0.8727 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005602/0.3973, allocations: 1.813 MB / 0.8745 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.005289/0.4026, allocations: 2.759 MB / 0.8772 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.008891/0.4115, allocations: 3.27 MB / 0.8804 GB, free: 9.562 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01585/0.4274, allocations: 11.65 MB / 0.8918 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.4275, allocations: 0 / 0.8918 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4275, allocations: 0 / 0.8918 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004843/0.428, allocations: 0 / 0.8918 GB, free: 13.88 MB / 0.7169 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.02562/0.4536, allocations: 6.358 MB / 0.898 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.4537, allocations: 12.03 kB / 0.898 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009922/0.4636, allocations: 1.301 MB / 0.8993 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009193/0.4728, allocations: 3.56 MB / 0.9027 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004577/0.4733, allocations: 386.5 kB / 0.9031 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002684/0.476, allocations: 0.5001 MB / 0.9036 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02293/0.499, allocations: 8.882 MB / 0.9123 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003118/0.4994, allocations: 27.72 kB / 0.9123 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002283/0.5017, allocations: 219.9 kB / 0.9125 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002716/0.5044, allocations: 0.6382 MB / 0.9131 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01954/0.524, allocations: 7.01 MB / 0.92 GB, free: 472 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5469/1.071, allocations: 40.33 MB / 0.9593 GB, free: 92.13 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005462/1.076, allocations: 2.892 MB / 0.9622 GB, free: 90.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00411/1.081, allocations: 2.669 MB / 0.9648 GB, free: 89.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003044/1.081, allocations: 27.34 kB / 0.9648 GB, free: 89.49 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/1.081, allocations: 64.12 kB / 0.9649 GB, free: 89.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=265): time 5.18e-06/1.081, allocations: 0 / 0.9649 GB, free: 89.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=424): time 0.2752/1.356, allocations: 74.66 MB / 1.038 GB, free: 28.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/1.356, allocations: 94.73 kB / 1.038 GB, free: 28.47 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002737/1.359, allocations: 2.355 MB / 1.04 GB, free: 26.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0009976/1.36, allocations: 97.7 kB / 1.04 GB, free: 26 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001166/1.361, allocations: 2.34 MB / 1.043 GB, free: 23.64 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001648/1.363, allocations: 1.437 MB / 1.044 GB, free: 22.22 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001315/1.364, allocations: 0.7215 MB / 1.045 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.875e-05/1.364, allocations: 301.1 kB / 1.045 GB, free: 21.19 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00366/1.368, allocations: 2.999 MB / 1.048 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004256/1.372, allocations: 3.843 MB / 1.052 GB, free: 14 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008332/1.381, allocations: 7.384 MB / 1.059 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.455e-05/1.381, allocations: 8 kB / 1.059 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02737/1.408, allocations: 12.56 MB / 1.071 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/1.408, allocations: 12.94 kB / 1.071 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-05/1.408, allocations: 24 kB / 1.071 GB, free: 9.586 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02276/1.431, allocations: 6.034 MB / 1.077 GB, free: 3.492 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002803/1.434, allocations: 495.2 kB / 1.078 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0811/1.515, allocations: 67.17 MB / 1.143 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004427/1.519, allocations: 215.8 kB / 1.143 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00075/1.52, allocations: 152 kB / 1.143 GB, free: 12.32 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004076/1.524, allocations: 2.003 MB / 1.145 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001115/1.525, allocations: 391.4 kB / 1.146 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02724/1.553, allocations: 12.22 MB / 1.158 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-05/1.553, allocations: 40 kB / 1.158 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001844/1.553, allocations: 52 kB / 1.158 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001048/1.553, allocations: 19.92 kB / 1.158 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0435/1.596, allocations: 19.14 MB / 1.177 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.266e-05/1.597, allocations: 12.12 kB / 1.177 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/1.598, allocations: 295.5 kB / 1.177 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02063/1.619, allocations: 5.579 MB / 1.182 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008846/1.62, allocations: 80 kB / 1.182 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07334/1.693, allocations: 64.77 MB / 1.246 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/1.693, allocations: 11.94 kB / 1.246 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03162/1.725, allocations: 15.63 MB / 1.261 GB, free: 336 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002637/1.727, allocations: 1.043 MB / 1.262 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008394/1.728, allocations: 80.12 kB / 1.262 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00245/1.731, allocations: 219.7 kB / 1.262 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001426/1.732, allocations: 398.3 kB / 1.263 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003053/1.733, allocations: 115.9 kB / 1.263 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002108/1.735, allocations: 1.56 MB / 1.264 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/1.735, allocations: 0 / 1.264 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.006684/1.741, allocations: 1.859 MB / 1.266 GB, free: 11.04 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006822/1.742, allocations: 221.2 kB / 1.266 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.4307/2.173, allocations: 12.16 MB / 1.278 GB, free: 310.8 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.881e-05/2.173, allocations: 2.312 kB / 1.278 GB, free: 310.8 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.01632/2.189, allocations: 8.358 MB / 1.286 GB, free: 308 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006091/2.195, allocations: 1.105 MB / 1.287 GB, free: 308 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02465/2.22, allocations: 14.8 MB / 1.302 GB, free: 302.1 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007346/2.227, allocations: 4.096 MB / 1.306 GB, free: 301.2 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003666/2.231, allocations: 0.6731 MB / 1.306 GB, free: 301.1 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006776/2.232, allocations: 177.5 kB / 1.307 GB, free: 301.1 MB / 0.9512 GB Notification: Performance of SimCode: time 9.52e-07/2.232, allocations: 0 / 1.307 GB, free: 301.1 MB / 0.9512 GB Notification: Performance of Templates: time 0.1603/2.392, allocations: 108 MB / 1.412 GB, free: 223 MB / 0.9512 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)