Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.862/1.862, allocations: 288.4 MB / 303.4 MB, free: 8.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001236/0.001236, allocations: 175.1 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.4 MB / 0.6307 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007959/0.0007962, allocations: 98.23 kB / 0.7441 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003847, allocations: 20.55 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2031, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.02822/0.2314, allocations: 34.16 MB / 1.013 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02112/0.2526, allocations: 12.44 MB / 1.025 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003731/0.2563, allocations: 147.1 kB / 1.025 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003142/0.2595, allocations: 0.7441 MB / 1.026 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006707/0.2663, allocations: 2.056 MB / 1.028 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005825/0.2721, allocations: 1.623 MB / 1.03 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01393/0.2861, allocations: 10.6 MB / 1.04 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02182/0.3079, allocations: 11.44 MB / 1.051 GB, free: 2.223 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006858/0.3149, allocations: 2.949 MB / 1.054 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008873/0.3238, allocations: 3.765 MB / 1.058 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002315/0.3261, allocations: 320 kB / 1.058 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004355/0.3305, allocations: 0.7688 MB / 1.059 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005241/0.3358, allocations: 2.435 MB / 1.061 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003466/0.3393, allocations: 1.175 MB / 1.062 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.4453/0.7846, allocations: 9.734 MB / 1.072 GB, free: 27.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.108e-05/0.7847, allocations: 0 / 1.072 GB, free: 27.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.442e-06/0.7847, allocations: 0 / 1.072 GB, free: 27.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0006404/0.7854, allocations: 0 / 1.072 GB, free: 27.5 MB / 0.6823 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.01715/0.8025, allocations: 5.198 MB / 1.077 GB, free: 25.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.8026, allocations: 13.89 kB / 1.077 GB, free: 25.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/0.8129, allocations: 1.301 MB / 1.078 GB, free: 25.09 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009196/0.8221, allocations: 3.475 MB / 1.081 GB, free: 24.41 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004355/0.8226, allocations: 380.2 kB / 1.082 GB, free: 24.39 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002284/0.8249, allocations: 0.4909 MB / 1.082 GB, free: 24.39 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0212/0.8461, allocations: 8.843 MB / 1.091 GB, free: 23.33 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002048/0.8463, allocations: 30.94 kB / 1.091 GB, free: 23.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001016/0.8474, allocations: 223.4 kB / 1.091 GB, free: 23.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002236/0.8496, allocations: 0.634 MB / 1.092 GB, free: 23.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01736/0.867, allocations: 6.979 MB / 1.099 GB, free: 23.25 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05999/0.927, allocations: 40.39 MB / 1.138 GB, free: 14.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005331/0.9324, allocations: 2.884 MB / 1.141 GB, free: 12.56 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004758/0.9372, allocations: 2.661 MB / 1.143 GB, free: 11.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003887/0.9376, allocations: 26.97 kB / 1.144 GB, free: 11.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.662e-05/0.9377, allocations: 67.75 kB / 1.144 GB, free: 11.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=265): time 6.382e-06/0.9377, allocations: 0 / 1.144 GB, free: 11.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=424): time 0.3053/1.243, allocations: 77.41 MB / 1.219 GB, free: 9.27 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.342e-05/1.243, allocations: 94.73 kB / 1.219 GB, free: 9.164 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003929/1.247, allocations: 2.332 MB / 1.222 GB, free: 6.82 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001021/1.248, allocations: 97.7 kB / 1.222 GB, free: 6.719 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001924/1.25, allocations: 2.339 MB / 1.224 GB, free: 4.363 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.002241/1.252, allocations: 1.434 MB / 1.225 GB, free: 2.941 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009437/1.253, allocations: 84 kB / 1.225 GB, free: 2.859 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003535/1.254, allocations: 487.3 kB / 1.226 GB, free: 2.375 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005197/1.259, allocations: 2.981 MB / 1.229 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005765/1.265, allocations: 3.828 MB / 1.233 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006072/1.271, allocations: 3.558 MB / 1.236 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.057e-05/1.271, allocations: 4 kB / 1.236 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03334/1.304, allocations: 12.49 MB / 1.248 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 5.118e-05/1.304, allocations: 16.94 kB / 1.248 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-05/1.304, allocations: 24 kB / 1.248 GB, free: 11.37 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02483/1.329, allocations: 6.017 MB / 1.254 GB, free: 5.305 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002635/1.332, allocations: 498.3 kB / 1.255 GB, free: 4.848 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09042/1.422, allocations: 67.19 MB / 1.32 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005306/1.428, allocations: 211.8 kB / 1.32 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001343/1.429, allocations: 156 kB / 1.321 GB, free: 14.39 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006149/1.435, allocations: 1.993 MB / 1.322 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001956/1.437, allocations: 391.4 kB / 1.323 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03293/1.47, allocations: 12.18 MB / 1.335 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.639e-05/1.47, allocations: 40 kB / 1.335 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002293/1.471, allocations: 56 kB / 1.335 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000123/1.471, allocations: 23.91 kB / 1.335 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04995/1.521, allocations: 19.12 MB / 1.354 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.872e-05/1.521, allocations: 8.656 kB / 1.354 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001835/1.523, allocations: 286.1 kB / 1.354 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02232/1.545, allocations: 5.572 MB / 1.359 GB, free: 6.828 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00122/1.546, allocations: 80 kB / 1.359 GB, free: 6.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08386/1.63, allocations: 64.82 MB / 1.423 GB, free: 3.008 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.972e-05/1.63, allocations: 11.19 kB / 1.423 GB, free: 3 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5879/2.218, allocations: 15.55 MB / 1.438 GB, free: 330.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003406/2.222, allocations: 1.046 MB / 1.439 GB, free: 330 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001209/2.223, allocations: 77.62 kB / 1.439 GB, free: 330 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003069/2.226, allocations: 219.4 kB / 1.439 GB, free: 330 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001402/2.227, allocations: 400.4 kB / 1.44 GB, free: 330 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002943/2.228, allocations: 108.4 kB / 1.44 GB, free: 330 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002413/2.23, allocations: 1.533 MB / 1.441 GB, free: 329.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.1e-07/2.23, allocations: 0 / 1.441 GB, free: 329.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.008743/2.239, allocations: 1.848 MB / 1.443 GB, free: 329.8 MB / 0.9636 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 (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008071/2.24, allocations: 217.1 kB / 1.443 GB, free: 329.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02224/2.262, allocations: 12.19 MB / 1.455 GB, free: 324.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-05/2.262, allocations: 0 / 1.455 GB, free: 324.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01631/2.278, allocations: 8.382 MB / 1.463 GB, free: 320 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007648/2.286, allocations: 1.111 MB / 1.464 GB, free: 319.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02649/2.312, allocations: 14.26 MB / 1.478 GB, free: 312.2 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005444/2.318, allocations: 4.085 MB / 1.482 GB, free: 310.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00357/2.322, allocations: 0.6661 MB / 1.483 GB, free: 310.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006211/2.322, allocations: 190.6 kB / 1.483 GB, free: 310.6 MB / 0.9636 GB Notification: Performance of SimCode: time 1.483e-06/2.322, allocations: 0 / 1.483 GB, free: 310.6 MB / 0.9636 GB Notification: Performance of Templates: time 0.154/2.476, allocations: 102.5 MB / 1.583 GB, free: 222 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)