Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001204/0.001204, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.58/1.58, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.815/1.815, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.00147/0.00147, allocations: 70.55 kB / 0.6715 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2903, allocations: 114.6 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02942/0.3198, allocations: 26.57 MB / 0.8093 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0149/0.3347, allocations: 8.123 MB / 0.8173 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003726/0.3385, allocations: 115.4 kB / 0.8174 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.007763/0.3463, allocations: 2.753 MB / 0.8201 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006502/0.3528, allocations: 1.586 MB / 0.8216 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00571/0.3586, allocations: 1.677 MB / 0.8232 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008647/0.3672, allocations: 6.15 MB / 0.8293 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0111/0.3784, allocations: 7.413 MB / 0.8365 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005845/0.3843, allocations: 2.559 MB / 0.839 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005606/0.3899, allocations: 2.835 MB / 0.8418 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001839/0.3918, allocations: 0.5078 MB / 0.8423 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003882/0.3957, allocations: 1.287 MB / 0.8435 GB, free: 15.61 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003138/0.3988, allocations: 2.047 MB / 0.8455 GB, free: 13.55 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.004645/0.4035, allocations: 2.381 MB / 0.8478 GB, free: 11.16 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.4137, allocations: 8.001 MB / 0.8556 GB, free: 3.141 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.4138, allocations: 0 / 0.8556 GB, free: 3.141 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4138, allocations: 3.938 kB / 0.8557 GB, free: 3.137 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002777/0.4141, allocations: 0 / 0.8557 GB, free: 3.137 MB / 0.67 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.01207/0.4261, allocations: 4.228 MB / 0.8598 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.4262, allocations: 11.97 kB / 0.8598 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004438/0.4306, allocations: 0.804 MB / 0.8606 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004952/0.4356, allocations: 2.421 MB / 0.8629 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/0.4359, allocations: 275.6 kB / 0.8632 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009122/0.4368, allocations: 380.5 kB / 0.8636 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0129/0.4497, allocations: 5.992 MB / 0.8694 GB, free: 4.656 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.4499, allocations: 19.78 kB / 0.8694 GB, free: 4.637 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006389/0.4505, allocations: 156 kB / 0.8696 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006225/0.4511, allocations: 282.9 kB / 0.8699 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/0.462, allocations: 4.524 MB / 0.8743 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03087/0.4929, allocations: 27.66 MB / 0.9013 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.4944, allocations: 1.115 MB / 0.9024 GB, free: 392 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.4956, allocations: 1.023 MB / 0.9034 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.922e-05/0.4956, allocations: 13 kB / 0.9034 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.4957, allocations: 47.56 kB / 0.9034 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=110): time 2.866e-06/0.4957, allocations: 0 / 0.9034 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=131): time 0.0217/0.5174, allocations: 9.677 MB / 0.9129 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.5175, allocations: 68.72 kB / 0.9129 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/0.5199, allocations: 1.494 MB / 0.9144 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/0.5201, allocations: 49.7 kB / 0.9145 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.5215, allocations: 1.663 MB / 0.9161 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00049/0.522, allocations: 477.3 kB / 0.9165 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005724/0.5226, allocations: 327.2 kB / 0.9168 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.5227, allocations: 305.1 kB / 0.9171 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.524, allocations: 0.9174 MB / 0.918 GB, free: 76 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5184/1.042, allocations: 1.453 MB / 0.9195 GB, free: 127.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004107/1.047, allocations: 2.553 MB / 0.9219 GB, free: 126 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.217e-05/1.047, allocations: 5.562 kB / 0.922 GB, free: 126 MB / 0.7325 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006269/1.053, allocations: 3.289 MB / 0.9252 GB, free: 124.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/1.053, allocations: 10.81 kB / 0.9252 GB, free: 124.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-05/1.053, allocations: 20.38 kB / 0.9252 GB, free: 124.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002094/1.055, allocations: 0.741 MB / 0.9259 GB, free: 124.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/1.057, allocations: 390 kB / 0.9263 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/1.071, allocations: 17.04 MB / 0.9429 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/1.073, allocations: 98.12 kB / 0.943 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000265/1.074, allocations: 77.67 kB / 0.9431 GB, free: 109.9 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003333/1.077, allocations: 1.316 MB / 0.9444 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006361/1.078, allocations: 202 kB / 0.9446 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006174/1.084, allocations: 2.779 MB / 0.9473 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/1.084, allocations: 13 kB / 0.9473 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.413e-05/1.084, allocations: 7.344 kB / 0.9473 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.132e-05/1.084, allocations: 15.91 kB / 0.9473 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/1.098, allocations: 6.226 MB / 0.9534 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/1.098, allocations: 7.188 kB / 0.9534 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/1.099, allocations: 229.5 kB / 0.9536 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002013/1.101, allocations: 0.6796 MB / 0.9543 GB, free: 105.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/1.101, allocations: 30.61 kB / 0.9543 GB, free: 105.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01416/1.115, allocations: 16.79 MB / 0.9707 GB, free: 90.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/1.116, allocations: 9.5 kB / 0.9707 GB, free: 90.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007011/1.123, allocations: 4.002 MB / 0.9746 GB, free: 88.99 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/1.124, allocations: 457.9 kB / 0.9751 GB, free: 88.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/1.124, allocations: 40.75 kB / 0.9751 GB, free: 88.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009875/1.125, allocations: 84.97 kB / 0.9752 GB, free: 88.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004027/1.126, allocations: 118.2 kB / 0.9753 GB, free: 88.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.141e-05/1.126, allocations: 41.88 kB / 0.9753 GB, free: 88.62 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001376/1.127, allocations: 0.9955 MB / 0.9763 GB, free: 88.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.127, allocations: 0 / 0.9763 GB, free: 88.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002835/1.13, allocations: 0.6832 MB / 0.977 GB, free: 88.1 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003183/1.13, allocations: 159.6 kB / 0.9771 GB, free: 87.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005894/1.136, allocations: 4.092 MB / 0.9811 GB, free: 85.63 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/1.136, allocations: 1.969 kB / 0.9811 GB, free: 85.63 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002881/1.139, allocations: 2.293 MB / 0.9834 GB, free: 83.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003058/1.142, allocations: 0.6674 MB / 0.984 GB, free: 83.58 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/1.153, allocations: 6.529 MB / 0.9904 GB, free: 79.76 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002142/1.155, allocations: 2.666 MB / 0.993 GB, free: 77.06 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001796/1.157, allocations: 485.4 kB / 0.9935 GB, free: 76.58 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003426/1.157, allocations: 123.4 kB / 0.9936 GB, free: 76.46 MB / 0.7325 GB Notification: Performance of SimCode: time 1.372e-06/1.157, allocations: 3.938 kB / 0.9936 GB, free: 76.46 MB / 0.7325 GB Notification: Performance of Templates: time 0.05306/1.21, allocations: 33.64 MB / 1.026 GB, free: 43.36 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)