Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.199/2.199, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 189.5 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 222.9 MB / 0.7948 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 103 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 52.88 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2779, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005797/0.2838, allocations: 5.538 MB / 1.224 GB, free: 111.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.003432/0.2872, allocations: 2.662 MB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003333/0.2876, allocations: 19.88 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.2891, allocations: 0.6341 MB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0007639/0.2898, allocations: 386.1 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008457/0.2907, allocations: 375.3 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0009031/0.2916, allocations: 1.259 MB / 1.229 GB, free: 106.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000603/0.2922, allocations: 464.1 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003111/0.2925, allocations: 342.5 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003922/0.2929, allocations: 406.4 kB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 6.287e-05/0.293, allocations: 36 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006293/0.2936, allocations: 439.1 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.2938, allocations: 227.3 kB / 1.231 GB, free: 104.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002354/0.2941, allocations: 338.2 kB / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000724/0.2948, allocations: 0.9655 MB / 1.232 GB, free: 103.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2948, allocations: 0 / 1.232 GB, free: 103.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2948, allocations: 0 / 1.232 GB, free: 103.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.2948, allocations: 7.938 kB / 1.232 GB, free: 103.2 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001398/0.2962, allocations: 0.9815 MB / 1.233 GB, free: 102.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.2963, allocations: 11.98 kB / 1.233 GB, free: 102.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.2975, allocations: 195.9 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006908/0.2982, allocations: 494.3 kB / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.2983, allocations: 45.36 kB / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.2984, allocations: 56.53 kB / 1.234 GB, free: 101.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009231/0.2993, allocations: 0.824 MB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.2994, allocations: 7.984 kB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.975e-05/0.2994, allocations: 19.98 kB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001697/0.2996, allocations: 68.95 kB / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007361/0.3004, allocations: 0.5696 MB / 1.235 GB, free: 99.74 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/0.3036, allocations: 4.589 MB / 1.239 GB, free: 94.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.304, allocations: 295.2 kB / 1.24 GB, free: 94.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.3043, allocations: 233.3 kB / 1.24 GB, free: 94.27 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.3043, allocations: 288 / 1.24 GB, free: 94.27 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.3044, allocations: 34.84 kB / 1.24 GB, free: 94.23 MB / 0.823 GB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/0.3044, allocations: 0 / 1.24 GB, free: 94.23 MB / 0.823 GB Notification: Performance of matching and sorting (n=40): time 0.004848/0.3092, allocations: 2.633 MB / 1.243 GB, free: 91.47 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.3093, allocations: 55.41 kB / 1.243 GB, free: 91.41 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003534/0.3096, allocations: 466 kB / 1.243 GB, free: 90.94 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.3097, allocations: 41.58 kB / 1.243 GB, free: 90.89 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.3098, allocations: 343.6 kB / 1.243 GB, free: 90.55 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.047e-05/0.3099, allocations: 149.9 kB / 1.244 GB, free: 90.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.31, allocations: 106.2 kB / 1.244 GB, free: 90.29 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.987e-05/0.3101, allocations: 358.8 kB / 1.244 GB, free: 89.93 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/0.3104, allocations: 237 kB / 1.244 GB, free: 89.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/0.3108, allocations: 402.5 kB / 1.245 GB, free: 89.23 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006325/0.3114, allocations: 0.6817 MB / 1.245 GB, free: 88.47 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3114, allocations: 12 kB / 1.245 GB, free: 88.46 MB / 0.823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001366/0.3128, allocations: 0.9207 MB / 1.246 GB, free: 87.52 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3128, allocations: 4.656 kB / 1.246 GB, free: 87.52 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.3128, allocations: 8 kB / 1.246 GB, free: 87.51 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006947/0.3135, allocations: 222.4 kB / 1.246 GB, free: 87.29 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004514/0.314, allocations: 115.8 kB / 1.247 GB, free: 87.17 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003765/0.3178, allocations: 4.93 MB / 1.251 GB, free: 81.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004327/0.3182, allocations: 27.97 kB / 1.251 GB, free: 81.82 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.3183, allocations: 27.98 kB / 1.251 GB, free: 81.79 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002893/0.3186, allocations: 233.6 kB / 1.252 GB, free: 81.55 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.588e-05/0.3187, allocations: 55.48 kB / 1.252 GB, free: 81.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.32, allocations: 0.7774 MB / 1.252 GB, free: 80.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.32, allocations: 4 kB / 1.252 GB, free: 80.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.32, allocations: 4 kB / 1.252 GB, free: 80.69 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.32, allocations: 3.984 kB / 1.252 GB, free: 80.69 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/0.3221, allocations: 1.503 MB / 1.254 GB, free: 79.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3221, allocations: 4 kB / 1.254 GB, free: 79.09 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/0.3224, allocations: 63.89 kB / 1.254 GB, free: 79.03 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005816/0.323, allocations: 210.4 kB / 1.254 GB, free: 78.82 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.3231, allocations: 12 kB / 1.254 GB, free: 78.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003299/0.3264, allocations: 4.86 MB / 1.259 GB, free: 73.55 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.3264, allocations: 0 / 1.259 GB, free: 73.55 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003161/0.3295, allocations: 2.961 MB / 1.262 GB, free: 70.42 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.3297, allocations: 168.4 kB / 1.262 GB, free: 70.23 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.739e-05/0.3298, allocations: 15.98 kB / 1.262 GB, free: 70.22 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003071/0.3301, allocations: 31.97 kB / 1.262 GB, free: 70.19 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.896e-05/0.3302, allocations: 31.95 kB / 1.262 GB, free: 70.16 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.3303, allocations: 12 kB / 1.262 GB, free: 70.14 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002783/0.3305, allocations: 314.9 kB / 1.262 GB, free: 69.84 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.6e-07/0.3306, allocations: 0 / 1.262 GB, free: 69.84 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007127/0.3313, allocations: 204 kB / 1.263 GB, free: 69.64 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,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.0001458/0.3314, allocations: 127.4 kB / 1.263 GB, free: 69.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.3327, allocations: 1.004 MB / 1.264 GB, free: 68.46 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3327, allocations: 4.125 kB / 1.264 GB, free: 68.46 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007307/0.3335, allocations: 0.6875 MB / 1.264 GB, free: 67.73 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007994/0.3343, allocations: 165.1 kB / 1.265 GB, free: 67.57 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.3361, allocations: 1.778 MB / 1.266 GB, free: 65.73 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.3365, allocations: 0.9612 MB / 1.267 GB, free: 64.74 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003299/0.3369, allocations: 117 kB / 1.267 GB, free: 64.62 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.38e-05/0.337, allocations: 39.38 kB / 1.267 GB, free: 64.58 MB / 0.823 GB Notification: Performance of SimCode: time 5.91e-07/0.337, allocations: 0 / 1.267 GB, free: 64.58 MB / 0.823 GB Notification: Performance of Templates: time 0.01172/0.3487, allocations: 9.07 MB / 1.276 GB, free: 55.62 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)