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.001067/0.001067, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008849/0.008849, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.621/1.621, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.882/1.882, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005116/0.0005116, allocations: 11.62 kB / 0.6743 GB, free: 25.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2716, allocations: 116.3 MB / 0.7879 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03074/0.3024, allocations: 25.66 MB / 0.813 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01362/0.3161, allocations: 8.037 MB / 0.8208 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002629/0.3188, allocations: 103.4 kB / 0.8209 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.3205, allocations: 0.5193 MB / 0.8214 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004669/0.3252, allocations: 1.501 MB / 0.8229 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00413/0.3294, allocations: 1.387 MB / 0.8242 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01044/0.3398, allocations: 8.704 MB / 0.8327 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01428/0.3542, allocations: 9.153 MB / 0.8417 GB, free: 4.238 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004361/0.3586, allocations: 1.859 MB / 0.8435 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004744/0.3633, allocations: 2.452 MB / 0.8459 GB, free: 15.91 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001097/0.3645, allocations: 212 kB / 0.8461 GB, free: 15.7 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002929/0.3674, allocations: 1.201 MB / 0.8473 GB, free: 14.5 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001957/0.3694, allocations: 1.668 MB / 0.8489 GB, free: 12.83 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002703/0.3721, allocations: 1.957 MB / 0.8508 GB, free: 10.86 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008051/0.3801, allocations: 7.682 MB / 0.8583 GB, free: 3.148 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.3802, allocations: 4 kB / 0.8583 GB, free: 3.145 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3802, allocations: 0 / 0.8583 GB, free: 3.145 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002117/0.3804, allocations: 0 / 0.8583 GB, free: 3.145 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.007464/0.3879, allocations: 3.421 MB / 0.8616 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.3879, allocations: 12.02 kB / 0.8616 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004622/0.3926, allocations: 0.8 MB / 0.8624 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005573/0.3982, allocations: 2.432 MB / 0.8648 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/0.3984, allocations: 271.6 kB / 0.8651 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/0.3995, allocations: 376.6 kB / 0.8654 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01203/0.4115, allocations: 5.98 MB / 0.8713 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/0.4117, allocations: 19.88 kB / 0.8713 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004049/0.4121, allocations: 160 kB / 0.8714 GB, free: 5.312 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006382/0.4127, allocations: 286.9 kB / 0.8717 GB, free: 5.031 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/0.4229, allocations: 4.527 MB / 0.8761 GB, free: 0.4961 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03403/0.4569, allocations: 27.69 MB / 0.9032 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.4587, allocations: 1.126 MB / 0.9043 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.4602, allocations: 1.03 MB / 0.9053 GB, free: 132 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-05/0.4603, allocations: 13 kB / 0.9053 GB, free: 116 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.4603, allocations: 43.56 kB / 0.9053 GB, free: 64 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 2.986e-06/0.4603, allocations: 0 / 0.9053 GB, free: 64 kB / 0.7169 GB Notification: Performance of matching and sorting (n=131): time 0.02241/0.4828, allocations: 9.674 MB / 0.9148 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.4828, allocations: 64.72 kB / 0.9148 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/0.4849, allocations: 1.502 MB / 0.9163 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001593/0.4851, allocations: 49.7 kB / 0.9164 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.4862, allocations: 1.659 MB / 0.918 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004846/0.4867, allocations: 473.3 kB / 0.9184 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.4869, allocations: 141.6 kB / 0.9186 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.487, allocations: 309 kB / 0.9189 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/0.4883, allocations: 0.9174 MB / 0.9198 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.574/1.062, allocations: 1.464 MB / 0.9212 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00527/1.068, allocations: 2.541 MB / 0.9237 GB, free: 123 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.648e-05/1.068, allocations: 8.719 kB / 0.9237 GB, free: 123 MB / 0.7325 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.008001/1.076, allocations: 3.289 MB / 0.9269 GB, free: 122.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.912e-05/1.076, allocations: 11.69 kB / 0.9269 GB, free: 122.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.128e-05/1.076, allocations: 17.59 kB / 0.9269 GB, free: 122.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002263/1.078, allocations: 0.7351 MB / 0.9276 GB, free: 122.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/1.08, allocations: 386.3 kB / 0.928 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/1.093, allocations: 15.77 MB / 0.9434 GB, free: 108.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/1.095, allocations: 97.66 kB / 0.9435 GB, free: 108.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/1.095, allocations: 78.55 kB / 0.9436 GB, free: 108.7 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.002774/1.098, allocations: 1.311 MB / 0.9449 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004966/1.099, allocations: 201 kB / 0.945 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005962/1.105, allocations: 2.789 MB / 0.9478 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-05/1.105, allocations: 13.53 kB / 0.9478 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.866e-05/1.105, allocations: 14.5 kB / 0.9478 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/1.105, allocations: 8.094 kB / 0.9478 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/1.118, allocations: 6.216 MB / 0.9539 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/1.118, allocations: 5.656 kB / 0.9539 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/1.119, allocations: 231.1 kB / 0.9541 GB, free: 104.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002039/1.121, allocations: 0.67 MB / 0.9548 GB, free: 104 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/1.121, allocations: 32.62 kB / 0.9548 GB, free: 104 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01325/1.134, allocations: 15.53 MB / 0.9699 GB, free: 90.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.215e-05/1.134, allocations: 9.719 kB / 0.97 GB, free: 90.62 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007223/1.142, allocations: 4.008 MB / 0.9739 GB, free: 88.85 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/1.143, allocations: 456.4 kB / 0.9743 GB, free: 88.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003556/1.143, allocations: 35.09 kB / 0.9743 GB, free: 88.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/1.144, allocations: 80.58 kB / 0.9744 GB, free: 88.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003884/1.145, allocations: 122.3 kB / 0.9745 GB, free: 88.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.571e-05/1.145, allocations: 42.56 kB / 0.9746 GB, free: 88.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001567/1.146, allocations: 0.993 MB / 0.9755 GB, free: 88.13 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/1.146, allocations: 0 / 0.9755 GB, free: 88.13 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002827/1.149, allocations: 0.6849 MB / 0.9762 GB, free: 88.08 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.0002826/1.15, allocations: 154.8 kB / 0.9764 GB, free: 87.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005287/1.155, allocations: 3.511 MB / 0.9798 GB, free: 85.67 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/1.155, allocations: 0 / 0.9798 GB, free: 85.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002934/1.158, allocations: 2.28 MB / 0.982 GB, free: 83.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004182/1.162, allocations: 0.6273 MB / 0.9826 GB, free: 83.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009855/1.172, allocations: 8.201 MB / 0.9906 GB, free: 78.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002176/1.174, allocations: 2.669 MB / 0.9932 GB, free: 76.53 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00164/1.176, allocations: 485.3 kB / 0.9937 GB, free: 76.28 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/1.176, allocations: 115.4 kB / 0.9938 GB, free: 76.17 MB / 0.7325 GB Notification: Performance of SimCode: time 1.282e-06/1.176, allocations: 4 kB / 0.9938 GB, free: 76.16 MB / 0.7325 GB Notification: Performance of Templates: time 0.04952/1.226, allocations: 32.05 MB / 1.025 GB, free: 44.6 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: