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.0009875/0.0009875, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001074/0.001074, allocations: 191.4 kB / 16.25 MB, free: 6.621 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.599/1.599, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.827/1.827, allocations: 292.2 MB / 0.5485 GB, free: 13.61 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.00142/0.00142, allocations: 71.09 kB / 0.671 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2833, allocations: 114.6 MB / 0.7829 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02928/0.3126, allocations: 26.36 MB / 0.8086 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01515/0.3278, allocations: 8.052 MB / 0.8165 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003805/0.3316, allocations: 111.3 kB / 0.8166 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.007475/0.3392, allocations: 2.58 MB / 0.8191 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005644/0.3448, allocations: 1.466 MB / 0.8205 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005125/0.35, allocations: 1.512 MB / 0.822 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008764/0.3588, allocations: 6.177 MB / 0.828 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01547/0.3743, allocations: 8.943 MB / 0.8368 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005213/0.3795, allocations: 2.605 MB / 0.8393 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006473/0.386, allocations: 2.979 MB / 0.8422 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002006/0.3881, allocations: 0.5078 MB / 0.8427 GB, free: 300 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004339/0.3924, allocations: 1.283 MB / 0.844 GB, free: 15.01 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.004577/0.3971, allocations: 2.05 MB / 0.846 GB, free: 12.95 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.006725/0.4038, allocations: 2.385 MB / 0.8483 GB, free: 10.56 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.4146, allocations: 8.067 MB / 0.8562 GB, free: 2.469 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.4146, allocations: 0 / 0.8562 GB, free: 2.469 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4147, allocations: 0 / 0.8562 GB, free: 2.469 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002326/0.4149, allocations: 0 / 0.8562 GB, free: 2.469 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.009457/0.4244, allocations: 4.236 MB / 0.8603 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.4244, allocations: 8.031 kB / 0.8603 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004215/0.4287, allocations: 0.7961 MB / 0.8611 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004395/0.4331, allocations: 2.436 MB / 0.8635 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.4333, allocations: 271.6 kB / 0.8637 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008349/0.4342, allocations: 380.5 kB / 0.8641 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.4442, allocations: 5.988 MB / 0.87 GB, free: 3.988 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.866e-05/0.4443, allocations: 19.78 kB / 0.87 GB, free: 3.969 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003995/0.4448, allocations: 160 kB / 0.8701 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006154/0.4454, allocations: 282.9 kB / 0.8704 GB, free: 3.535 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008254/0.4536, allocations: 4.52 MB / 0.8748 GB, free: 15 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03624/0.4899, allocations: 27.67 MB / 0.9018 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.4915, allocations: 1.107 MB / 0.9029 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/0.4928, allocations: 1.027 MB / 0.9039 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-05/0.4929, allocations: 16.97 kB / 0.9039 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.492e-05/0.4929, allocations: 55.55 kB / 0.904 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=110): time 3.928e-06/0.4929, allocations: 4 kB / 0.904 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=131): time 0.02185/0.5148, allocations: 9.66 MB / 0.9134 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.5149, allocations: 68.72 kB / 0.9135 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002229/0.5171, allocations: 1.49 MB / 0.9149 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.5173, allocations: 49.7 kB / 0.915 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001149/0.5185, allocations: 1.671 MB / 0.9166 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004683/0.519, allocations: 461.4 kB / 0.9171 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004987/0.5195, allocations: 335.1 kB / 0.9174 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5196, allocations: 305.1 kB / 0.9177 GB, free: 328 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5338/1.053, allocations: 0.9112 MB / 0.9186 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002196/1.056, allocations: 1.469 MB / 0.92 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00368/1.059, allocations: 2.547 MB / 0.9225 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-05/1.059, allocations: 6.078 kB / 0.9225 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005634/1.065, allocations: 3.29 MB / 0.9257 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/1.065, allocations: 10.78 kB / 0.9257 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/1.065, allocations: 17.56 kB / 0.9257 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002074/1.067, allocations: 0.7433 MB / 0.9264 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/1.069, allocations: 382 kB / 0.9268 GB, free: 123.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01354/1.082, allocations: 17.05 MB / 0.9435 GB, free: 109 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/1.084, allocations: 99.44 kB / 0.9436 GB, free: 109 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/1.084, allocations: 72.7 kB / 0.9436 GB, free: 109 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.002782/1.087, allocations: 1.312 MB / 0.9449 GB, free: 108.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006113/1.088, allocations: 201.5 kB / 0.9451 GB, free: 108.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005891/1.094, allocations: 2.79 MB / 0.9478 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.664e-05/1.094, allocations: 13.44 kB / 0.9478 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.56e-05/1.094, allocations: 7.062 kB / 0.9478 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.318e-05/1.094, allocations: 10.41 kB / 0.9479 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/1.106, allocations: 6.211 MB / 0.9539 GB, free: 104.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/1.106, allocations: 7.109 kB / 0.9539 GB, free: 104.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/1.108, allocations: 237.9 kB / 0.9541 GB, free: 104.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002167/1.11, allocations: 0.6735 MB / 0.9548 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001467/1.11, allocations: 33.31 kB / 0.9548 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01306/1.123, allocations: 16.8 MB / 0.9712 GB, free: 89.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.123, allocations: 6.031 kB / 0.9713 GB, free: 89.85 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006143/1.129, allocations: 4.004 MB / 0.9752 GB, free: 88.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/1.13, allocations: 466.5 kB / 0.9756 GB, free: 87.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/1.131, allocations: 27.78 kB / 0.9756 GB, free: 87.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008824/1.132, allocations: 87.2 kB / 0.9757 GB, free: 87.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000367/1.132, allocations: 119.5 kB / 0.9758 GB, free: 87.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.913e-05/1.132, allocations: 39.41 kB / 0.9759 GB, free: 87.61 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001301/1.133, allocations: 0.9968 MB / 0.9768 GB, free: 87.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/1.133, allocations: 0 / 0.9768 GB, free: 87.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002617/1.136, allocations: 0.6856 MB / 0.9775 GB, free: 87.02 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.0002735/1.136, allocations: 155.5 kB / 0.9777 GB, free: 86.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005655/1.142, allocations: 4.095 MB / 0.9817 GB, free: 84.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.142, allocations: 0 / 0.9817 GB, free: 84.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002567/1.145, allocations: 2.299 MB / 0.9839 GB, free: 82.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002786/1.147, allocations: 0.66 MB / 0.9845 GB, free: 82.51 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/1.158, allocations: 8.12 MB / 0.9925 GB, free: 76.53 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00209/1.16, allocations: 2.668 MB / 0.9951 GB, free: 73.82 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001891/1.162, allocations: 488.9 kB / 0.9955 GB, free: 73.35 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/1.162, allocations: 119.4 kB / 0.9957 GB, free: 73.23 MB / 0.7325 GB Notification: Performance of SimCode: time 1.263e-06/1.162, allocations: 0 / 0.9957 GB, free: 73.23 MB / 0.7325 GB Notification: Performance of Templates: time 0.05062/1.213, allocations: 33.83 MB / 1.029 GB, free: 39.94 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)