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.385/1.385, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001101/0.001101, allocations: 182.4 kB / 326.5 MB, free: 2.684 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.555/1.555, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0009898/0.0009897, allocations: 91.84 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.000333, allocations: 11.16 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2124, allocations: 105.4 MB / 0.8968 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02073/0.2332, allocations: 26.04 MB / 0.9222 GB, free: 42 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01089/0.2442, allocations: 8.13 MB / 0.9301 GB, free: 33.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002334/0.2465, allocations: 103.4 kB / 0.9302 GB, free: 33.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.005447/0.252, allocations: 2.546 MB / 0.9327 GB, free: 31.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003948/0.256, allocations: 1.493 MB / 0.9342 GB, free: 29.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003908/0.2599, allocations: 1.534 MB / 0.9357 GB, free: 28.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006789/0.2667, allocations: 8.693 MB / 0.9442 GB, free: 19.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009761/0.2765, allocations: 8.137 MB / 0.9521 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003232/0.2797, allocations: 1.918 MB / 0.954 GB, free: 9.289 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003313/0.2831, allocations: 2.456 MB / 0.9564 GB, free: 6.824 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0009053/0.284, allocations: 212 kB / 0.9566 GB, free: 6.617 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002643/0.2867, allocations: 1.201 MB / 0.9577 GB, free: 5.414 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001909/0.2886, allocations: 1.66 MB / 0.9594 GB, free: 3.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.002263/0.2909, allocations: 1.936 MB / 0.9613 GB, free: 1.805 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.006111/0.297, allocations: 6.658 MB / 0.9678 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.297, allocations: 4 kB / 0.9678 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.395e-06/0.297, allocations: 0 / 0.9678 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002048/0.2972, allocations: 0 / 0.9678 GB, free: 11.12 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.006943/0.3042, allocations: 3.425 MB / 0.9711 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3042, allocations: 11.97 kB / 0.9711 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004397/0.3086, allocations: 0.7884 MB / 0.9719 GB, free: 6.828 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004464/0.3131, allocations: 2.436 MB / 0.9743 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/0.3133, allocations: 275.6 kB / 0.9745 GB, free: 4.066 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008357/0.3142, allocations: 380.5 kB / 0.9749 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01041/0.3246, allocations: 5.988 MB / 0.9807 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.802e-05/0.3247, allocations: 19.78 kB / 0.9808 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000371/0.3251, allocations: 160 kB / 0.9809 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005739/0.3257, allocations: 286.9 kB / 0.9812 GB, free: 13 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008483/0.3342, allocations: 4.52 MB / 0.9856 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02945/0.3637, allocations: 27.7 MB / 1.013 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.3653, allocations: 1.119 MB / 1.014 GB, free: 9.137 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.3666, allocations: 1.015 MB / 1.015 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.67e-05/0.3667, allocations: 16.98 kB / 1.015 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.3667, allocations: 47.5 kB / 1.015 GB, free: 8.047 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=110): time 3.286e-06/0.3667, allocations: 0 / 1.015 GB, free: 8.047 MB / 0.6667 GB Notification: Performance of matching and sorting (n=131): time 0.02103/0.3878, allocations: 9.67 MB / 1.024 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.3879, allocations: 64.72 kB / 1.024 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/0.3898, allocations: 1.494 MB / 1.026 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001777/0.39, allocations: 57.7 kB / 1.026 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001085/0.3911, allocations: 1.667 MB / 1.027 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004078/0.3915, allocations: 465.4 kB / 1.028 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.3917, allocations: 145.6 kB / 1.028 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.688e-05/0.3918, allocations: 305.1 kB / 1.028 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.3931, allocations: 0.9174 MB / 1.029 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.3948, allocations: 1.467 MB / 1.031 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003091/0.3979, allocations: 2.546 MB / 1.033 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.76e-05/0.3979, allocations: 4 kB / 1.033 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005716/0.4036, allocations: 3.289 MB / 1.036 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.4037, allocations: 12 kB / 1.036 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/0.4037, allocations: 16 kB / 1.036 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002335/0.406, allocations: 0.738 MB / 1.037 GB, free: 408 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.4076, allocations: 387.4 kB / 1.037 GB, free: 20 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3908/0.7984, allocations: 15.78 MB / 1.053 GB, free: 138.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/0.8002, allocations: 99.55 kB / 1.053 GB, free: 138.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003366/0.8005, allocations: 74.97 kB / 1.053 GB, free: 138.5 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.002494/0.803, allocations: 1.315 MB / 1.054 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005199/0.8036, allocations: 198.5 kB / 1.055 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005087/0.8087, allocations: 2.79 MB / 1.057 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.8087, allocations: 13.34 kB / 1.057 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-05/0.8087, allocations: 9.625 kB / 1.057 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-05/0.8088, allocations: 6.75 kB / 1.057 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/0.8212, allocations: 6.215 MB / 1.063 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.8212, allocations: 11.56 kB / 1.063 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.8225, allocations: 235 kB / 1.064 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002142/0.8246, allocations: 0.6699 MB / 1.064 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/0.8248, allocations: 32.72 kB / 1.064 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/0.837, allocations: 15.51 MB / 1.079 GB, free: 124.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/0.837, allocations: 11.06 kB / 1.079 GB, free: 124.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006011/0.843, allocations: 4.009 MB / 1.083 GB, free: 122.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.8441, allocations: 453.1 kB / 1.084 GB, free: 122.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002741/0.8444, allocations: 34.16 kB / 1.084 GB, free: 122.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008613/0.8452, allocations: 82.95 kB / 1.084 GB, free: 122.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003442/0.8456, allocations: 116.8 kB / 1.084 GB, free: 122.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.971e-05/0.8457, allocations: 39.53 kB / 1.084 GB, free: 122.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001447/0.8471, allocations: 0.9964 MB / 1.085 GB, free: 122.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8471, allocations: 0 / 1.085 GB, free: 122.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00232/0.8495, allocations: 0.6835 MB / 1.086 GB, free: 122.1 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.000284/0.8498, allocations: 158.9 kB / 1.086 GB, free: 122 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004724/0.8545, allocations: 3.497 MB / 1.089 GB, free: 120 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/0.8545, allocations: 1.062 kB / 1.089 GB, free: 120 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002832/0.8574, allocations: 2.289 MB / 1.091 GB, free: 118.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004839/0.8622, allocations: 0.6265 MB / 1.092 GB, free: 118.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/0.875, allocations: 8.602 MB / 1.1 GB, free: 113.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002956/0.878, allocations: 2.719 MB / 1.103 GB, free: 111.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006983/0.8788, allocations: 138.3 kB / 1.103 GB, free: 111.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.523e-06/0.8788, allocations: 4 kB / 1.103 GB, free: 111.9 MB / 0.698 GB Notification: Performance of Templates: time 0.1603/1.039, allocations: 209.2 MB / 1.308 GB, free: 15.71 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)