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_RL.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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009938/0.0009938, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00117/0.00117, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.668/1.668, allocations: 251.9 MB / 0.51 GB, free: 4.793 MB / 414.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.0005821/0.0005821, allocations: 15.98 kB / 0.6241 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7176/0.7182, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02639/0.7447, allocations: 23.26 MB / 0.7507 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01774/0.7625, allocations: 7.771 MB / 0.7583 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004164/0.7667, allocations: 95.38 kB / 0.7584 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003244/0.77, allocations: 0.5163 MB / 0.7589 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00611/0.7762, allocations: 1.168 MB / 0.76 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005624/0.7818, allocations: 1.016 MB / 0.761 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007286/0.7891, allocations: 2.999 MB / 0.7639 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01642/0.8056, allocations: 8.164 MB / 0.7719 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004361/0.81, allocations: 1.65 MB / 0.7735 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004475/0.8145, allocations: 1.662 MB / 0.7752 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001524/0.8161, allocations: 212 kB / 0.7754 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003062/0.8191, allocations: 0.4994 MB / 0.7758 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003576/0.8227, allocations: 1.528 MB / 0.7773 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002503/0.8253, allocations: 0.8044 MB / 0.7781 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01257/0.8378, allocations: 6.52 MB / 0.7845 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.8379, allocations: 0 / 0.7845 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.717e-06/0.8379, allocations: 4 kB / 0.7845 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003878/0.8383, allocations: 0 / 0.7845 GB, free: 1.359 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.0117/0.85, allocations: 3.425 MB / 0.7878 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.8501, allocations: 12.03 kB / 0.7878 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005356/0.8555, allocations: 0.768 MB / 0.7886 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007195/0.8627, allocations: 2.37 MB / 0.7909 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003567/0.8631, allocations: 275.2 kB / 0.7912 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001811/0.8649, allocations: 383.8 kB / 0.7915 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01693/0.8819, allocations: 5.926 MB / 0.7973 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002287/0.8822, allocations: 11.94 kB / 0.7973 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001293/0.8835, allocations: 160 kB / 0.7975 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007569/0.8842, allocations: 290.8 kB / 0.7978 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01156/0.8958, allocations: 4.489 MB / 0.8021 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04507/0.941, allocations: 27.7 MB / 0.8292 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/0.9432, allocations: 1.122 MB / 0.8303 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.9433, allocations: 13 kB / 0.8303 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.018e-05/0.9434, allocations: 43.56 kB / 0.8303 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 3.928e-06/0.9434, allocations: 4 kB / 0.8304 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=131): time 0.02444/0.9679, allocations: 9.66 MB / 0.8398 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.968, allocations: 64.72 kB / 0.8398 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002845/0.9708, allocations: 1.478 MB / 0.8413 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002039/0.9711, allocations: 45.7 kB / 0.8413 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001368/0.9724, allocations: 1.667 MB / 0.843 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005777/0.973, allocations: 469.3 kB / 0.8434 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.9732, allocations: 36 kB / 0.8434 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002128/0.9734, allocations: 377.9 kB / 0.8438 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/0.9751, allocations: 0.9096 MB / 0.8447 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001886/0.977, allocations: 1.455 MB / 0.8461 GB, free: 14.84 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/0.9789, allocations: 1.15 MB / 0.8472 GB, free: 13.69 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.856e-05/0.9789, allocations: 8 kB / 0.8472 GB, free: 13.68 MB / 0.67 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006378/0.9853, allocations: 3.262 MB / 0.8504 GB, free: 10.38 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.9853, allocations: 15.98 kB / 0.8504 GB, free: 10.36 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.232e-05/0.9854, allocations: 20.91 kB / 0.8505 GB, free: 10.34 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002373/0.9878, allocations: 0.7451 MB / 0.8512 GB, free: 9.57 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/0.9895, allocations: 383.4 kB / 0.8516 GB, free: 9.195 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0165/1.006, allocations: 16.03 MB / 0.8672 GB, free: 7.957 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/1.008, allocations: 99.91 kB / 0.8673 GB, free: 7.859 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003866/1.009, allocations: 72 kB / 0.8674 GB, free: 7.789 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003197/1.012, allocations: 1.317 MB / 0.8687 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006626/1.012, allocations: 205.5 kB / 0.8689 GB, free: 6.258 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006131/1.019, allocations: 2.773 MB / 0.8716 GB, free: 3.445 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/1.019, allocations: 12 kB / 0.8716 GB, free: 3.434 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-05/1.019, allocations: 8 kB / 0.8716 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.311e-05/1.019, allocations: 11.92 kB / 0.8716 GB, free: 3.414 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/1.034, allocations: 6.209 MB / 0.8777 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/1.034, allocations: 8.656 kB / 0.8777 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/1.035, allocations: 231.6 kB / 0.8779 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002091/1.037, allocations: 0.671 MB / 0.8785 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001386/1.037, allocations: 31.95 kB / 0.8786 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01589/1.053, allocations: 15.78 MB / 0.894 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/1.053, allocations: 11.95 kB / 0.894 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007412/1.06, allocations: 4.334 MB / 0.8982 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/1.062, allocations: 462.6 kB / 0.8987 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007082/1.063, allocations: 28 kB / 0.8987 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/1.064, allocations: 83.89 kB / 0.8988 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004147/1.065, allocations: 112.8 kB / 0.8989 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/1.065, allocations: 40 kB / 0.8989 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002146/1.067, allocations: 0.9825 MB / 0.8999 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.11e-07/1.067, allocations: 0 / 0.8999 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003422/1.07, allocations: 0.6836 MB / 0.9006 GB, free: 4.141 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003921/1.071, allocations: 151 kB / 0.9007 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006064/1.077, allocations: 3.495 MB / 0.9041 GB, free: 384 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/1.077, allocations: 0 / 0.9041 GB, free: 384 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003535/1.08, allocations: 2.284 MB / 0.9063 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004049/1.084, allocations: 0.6049 MB / 0.9069 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/1.1, allocations: 7.827 MB / 0.9146 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005006/1.105, allocations: 2.73 MB / 0.9172 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002633/1.108, allocations: 485.4 kB / 0.9177 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000572/1.108, allocations: 115.4 kB / 0.9178 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of SimCode: time 1.743e-06/1.108, allocations: 4 kB / 0.9178 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of Templates: time 0.5074/1.616, allocations: 31.17 MB / 0.9483 GB, free: 163.9 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) Environment - environmentSimulation: