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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.392/1.392, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009503/0.0009503, allocations: 178.4 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.4 MB / 0.5786 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007085/0.0007084, allocations: 100.9 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.000326, allocations: 8.969 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2529, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03408/0.287, allocations: 25.68 MB / 0.9265 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0157/0.3028, allocations: 8.041 MB / 0.9344 GB, free: 29.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003125/0.3059, allocations: 103.4 kB / 0.9345 GB, free: 29.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002344/0.3083, allocations: 0.5194 MB / 0.935 GB, free: 29.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005963/0.3143, allocations: 1.489 MB / 0.9365 GB, free: 27.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005554/0.3199, allocations: 1.396 MB / 0.9378 GB, free: 26.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01147/0.3314, allocations: 8.704 MB / 0.9463 GB, free: 17.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01904/0.3505, allocations: 9.134 MB / 0.9552 GB, free: 8.176 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004665/0.3552, allocations: 1.906 MB / 0.9571 GB, free: 6.262 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005172/0.3605, allocations: 2.468 MB / 0.9595 GB, free: 3.785 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001404/0.3619, allocations: 212 kB / 0.9597 GB, free: 3.578 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004309/0.3662, allocations: 1.197 MB / 0.9609 GB, free: 2.379 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00349/0.3698, allocations: 1.668 MB / 0.9625 GB, free: 0.707 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.005644/0.3755, allocations: 1.961 MB / 0.9644 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.3861, allocations: 6.659 MB / 0.9709 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.3862, allocations: 4 kB / 0.9709 GB, free: 8.051 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.747e-06/0.3862, allocations: 0 / 0.9709 GB, free: 8.051 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003301/0.3865, allocations: 0 / 0.9709 GB, free: 8.051 MB / 0.6198 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.01237/0.3989, allocations: 3.423 MB / 0.9743 GB, free: 4.562 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.399, allocations: 8.031 kB / 0.9743 GB, free: 4.555 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008276/0.4073, allocations: 0.8 MB / 0.9751 GB, free: 3.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008092/0.4154, allocations: 2.428 MB / 0.9774 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003861/0.4159, allocations: 279.6 kB / 0.9777 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001745/0.4176, allocations: 380.5 kB / 0.9781 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01969/0.4374, allocations: 5.988 MB / 0.9839 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001401/0.4375, allocations: 15.78 kB / 0.9839 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006149/0.4382, allocations: 163.9 kB / 0.9841 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000901/0.4391, allocations: 286.9 kB / 0.9844 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01493/0.454, allocations: 4.516 MB / 0.9888 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04914/0.5032, allocations: 27.71 MB / 1.016 GB, free: 7.188 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002782/0.506, allocations: 1.117 MB / 1.017 GB, free: 6.062 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002203/0.5082, allocations: 1.019 MB / 1.018 GB, free: 5.039 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.642e-05/0.5084, allocations: 13 kB / 1.018 GB, free: 5.027 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.308e-05/0.5084, allocations: 47.56 kB / 1.018 GB, free: 4.973 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=110): time 6.452e-06/0.5084, allocations: 0 / 1.018 GB, free: 4.973 MB / 0.6667 GB Notification: Performance of matching and sorting (n=131): time 0.03435/0.5428, allocations: 9.68 MB / 1.027 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.5429, allocations: 64.72 kB / 1.027 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003167/0.5461, allocations: 1.494 MB / 1.029 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002244/0.5463, allocations: 45.7 kB / 1.029 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001877/0.5482, allocations: 1.674 MB / 1.031 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006983/0.5489, allocations: 469.3 kB / 1.031 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.5491, allocations: 36 kB / 1.031 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000252/0.5494, allocations: 373.8 kB / 1.031 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/0.5516, allocations: 0.9174 MB / 1.032 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002774/0.5544, allocations: 1.463 MB / 1.034 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005295/0.5597, allocations: 2.554 MB / 1.036 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/0.5598, allocations: 4 kB / 1.036 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.0093/0.5691, allocations: 3.289 MB / 1.039 GB, free: 14.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.5691, allocations: 12 kB / 1.039 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-05/0.5692, allocations: 16 kB / 1.04 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003499/0.5727, allocations: 0.7339 MB / 1.04 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002651/0.5754, allocations: 383.4 kB / 1.041 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4995/1.075, allocations: 15.77 MB / 1.056 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/1.077, allocations: 97.64 kB / 1.056 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/1.077, allocations: 80.94 kB / 1.056 GB, free: 132.4 MB / 0.698 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.002152/1.079, allocations: 1.306 MB / 1.057 GB, free: 132.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000401/1.079, allocations: 205.2 kB / 1.058 GB, free: 132.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00477/1.084, allocations: 2.793 MB / 1.06 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/1.084, allocations: 12.3 kB / 1.06 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/1.084, allocations: 8.438 kB / 1.06 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/1.084, allocations: 6.797 kB / 1.06 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/1.096, allocations: 6.216 MB / 1.066 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/1.096, allocations: 5.312 kB / 1.066 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/1.097, allocations: 232.3 kB / 1.067 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002299/1.099, allocations: 0.6702 MB / 1.067 GB, free: 131.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/1.1, allocations: 33.73 kB / 1.067 GB, free: 131.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01319/1.113, allocations: 15.52 MB / 1.083 GB, free: 119.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/1.113, allocations: 8.656 kB / 1.083 GB, free: 119.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00619/1.119, allocations: 4.016 MB / 1.086 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/1.12, allocations: 457 kB / 1.087 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/1.12, allocations: 32 kB / 1.087 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009114/1.121, allocations: 79.45 kB / 1.087 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003947/1.122, allocations: 119 kB / 1.087 GB, free: 117.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.904e-05/1.122, allocations: 41 kB / 1.087 GB, free: 117.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001412/1.123, allocations: 0.9922 MB / 1.088 GB, free: 117.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.11e-07/1.123, allocations: 0 / 1.088 GB, free: 117.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00223/1.125, allocations: 0.6877 MB / 1.089 GB, free: 117 MB / 0.698 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.000232/1.126, allocations: 155.7 kB / 1.089 GB, free: 116.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00465/1.13, allocations: 3.507 MB / 1.092 GB, free: 114.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.13, allocations: 0 / 1.092 GB, free: 114.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002757/1.133, allocations: 2.285 MB / 1.095 GB, free: 113.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003924/1.137, allocations: 0.6252 MB / 1.095 GB, free: 113.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/1.149, allocations: 8.71 MB / 1.104 GB, free: 108.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00235/1.151, allocations: 2.722 MB / 1.106 GB, free: 106.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005778/1.152, allocations: 129.2 kB / 1.107 GB, free: 106.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.292e-06/1.152, allocations: 0 / 1.107 GB, free: 106.6 MB / 0.698 GB Notification: Performance of Templates: time 0.1686/1.32, allocations: 209.2 MB / 1.311 GB, free: 10.86 MB / 0.8073 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (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)