Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.292/2.292, allocations: 391.2 MB / 407 MB, free: 10.82 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.001225/0.001225, allocations: 193 kB / 499.1 MB, free: 4.617 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.624/1.624, allocations: 222.9 MB / 0.7948 GB, free: 15.77 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.001145/0.001145, allocations: 123.5 kB / 0.9329 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 47.06 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2662, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006092/0.2723, allocations: 5.45 MB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.003918/0.2763, allocations: 2.646 MB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003919/0.2768, allocations: 19.81 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.2782, allocations: 0.6344 MB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0007898/0.279, allocations: 382.1 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007819/0.2798, allocations: 354.9 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0007634/0.2806, allocations: 1.263 MB / 1.229 GB, free: 106.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000584/0.2812, allocations: 460.2 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003264/0.2815, allocations: 334.6 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003713/0.2819, allocations: 410.4 kB / 1.23 GB, free: 105.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/0.282, allocations: 36 kB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005882/0.2825, allocations: 443 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.2827, allocations: 235.3 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.2829, allocations: 330.3 kB / 1.231 GB, free: 104.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006809/0.2836, allocations: 0.9733 MB / 1.232 GB, free: 103.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2837, allocations: 0 / 1.232 GB, free: 103.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.82e-07/0.2837, allocations: 0 / 1.232 GB, free: 103.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.2837, allocations: 0 / 1.232 GB, free: 103.3 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.001354/0.285, allocations: 0.9712 MB / 1.233 GB, free: 102.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.2851, allocations: 19.98 kB / 1.233 GB, free: 102.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.2863, allocations: 195.8 kB / 1.233 GB, free: 102 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005973/0.2869, allocations: 486.4 kB / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.2869, allocations: 37.36 kB / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.2871, allocations: 52.56 kB / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008268/0.2879, allocations: 0.8318 MB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.2879, allocations: 0 / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.844e-05/0.288, allocations: 27.98 kB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001604/0.2881, allocations: 64.95 kB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007282/0.2889, allocations: 0.5774 MB / 1.235 GB, free: 99.83 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003086/0.292, allocations: 4.589 MB / 1.239 GB, free: 94.89 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/0.2924, allocations: 291.2 kB / 1.24 GB, free: 94.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.2926, allocations: 229.3 kB / 1.24 GB, free: 94.38 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.2926, allocations: 8.266 kB / 1.24 GB, free: 94.37 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.2927, allocations: 38.78 kB / 1.24 GB, free: 94.32 MB / 0.823 GB Notification: Performance of pre-optimization done (n=33): time 2.224e-06/0.2927, allocations: 0 / 1.24 GB, free: 94.32 MB / 0.823 GB Notification: Performance of matching and sorting (n=40): time 0.004482/0.2972, allocations: 2.637 MB / 1.242 GB, free: 91.56 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.2972, allocations: 59.34 kB / 1.243 GB, free: 91.49 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.2976, allocations: 457.9 kB / 1.243 GB, free: 91.03 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.2976, allocations: 29.7 kB / 1.243 GB, free: 90.99 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.2978, allocations: 339.7 kB / 1.243 GB, free: 90.65 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.097e-05/0.2978, allocations: 145.9 kB / 1.243 GB, free: 90.51 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.298, allocations: 102.2 kB / 1.244 GB, free: 90.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.648e-05/0.2981, allocations: 362.8 kB / 1.244 GB, free: 90.04 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.2984, allocations: 241 kB / 1.244 GB, free: 89.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/0.2988, allocations: 406.5 kB / 1.244 GB, free: 89.33 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000743/0.2996, allocations: 0.6778 MB / 1.245 GB, free: 88.58 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2996, allocations: 4 kB / 1.245 GB, free: 88.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001621/0.3012, allocations: 0.9251 MB / 1.246 GB, free: 87.63 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.3013, allocations: 8 kB / 1.246 GB, free: 87.62 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.3013, allocations: 4 kB / 1.246 GB, free: 87.62 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008351/0.3021, allocations: 222.6 kB / 1.246 GB, free: 87.39 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005471/0.3027, allocations: 115.8 kB / 1.246 GB, free: 87.28 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003846/0.3065, allocations: 4.93 MB / 1.251 GB, free: 81.95 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004147/0.307, allocations: 36.03 kB / 1.251 GB, free: 81.92 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.307, allocations: 20 kB / 1.251 GB, free: 81.9 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.0002256/0.3073, allocations: 233.5 kB / 1.251 GB, free: 81.66 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.3073, allocations: 55.34 kB / 1.252 GB, free: 81.61 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.3086, allocations: 0.7697 MB / 1.252 GB, free: 80.82 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3086, allocations: 4 kB / 1.252 GB, free: 80.81 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3086, allocations: 4 kB / 1.252 GB, free: 80.81 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3086, allocations: 3.938 kB / 1.252 GB, free: 80.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/0.3105, allocations: 1.49 MB / 1.254 GB, free: 79.23 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3105, allocations: 7.938 kB / 1.254 GB, free: 79.22 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.3109, allocations: 68.12 kB / 1.254 GB, free: 79.15 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005983/0.3115, allocations: 214.6 kB / 1.254 GB, free: 78.93 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.3115, allocations: 8 kB / 1.254 GB, free: 78.93 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003219/0.3147, allocations: 4.868 MB / 1.259 GB, free: 73.66 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3148, allocations: 7.969 kB / 1.259 GB, free: 73.66 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003241/0.318, allocations: 2.942 MB / 1.262 GB, free: 70.54 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.3182, allocations: 172.4 kB / 1.262 GB, free: 70.36 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/0.3183, allocations: 11.94 kB / 1.262 GB, free: 70.34 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.3186, allocations: 31.91 kB / 1.262 GB, free: 70.31 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.3187, allocations: 31.95 kB / 1.262 GB, free: 70.28 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.3187, allocations: 12 kB / 1.262 GB, free: 70.27 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002361/0.319, allocations: 314.9 kB / 1.262 GB, free: 69.96 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.319, allocations: 0 / 1.262 GB, free: 69.96 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007103/0.3197, allocations: 212 kB / 1.262 GB, free: 69.76 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.0001385/0.3198, allocations: 115.4 kB / 1.263 GB, free: 69.63 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.3212, allocations: 1.004 MB / 1.264 GB, free: 68.59 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.3212, allocations: 0 / 1.264 GB, free: 68.59 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007436/0.322, allocations: 0.6837 MB / 1.264 GB, free: 67.87 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008058/0.3228, allocations: 170.8 kB / 1.264 GB, free: 67.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.3246, allocations: 1.774 MB / 1.266 GB, free: 65.86 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.3249, allocations: 0.9573 MB / 1.267 GB, free: 64.87 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003279/0.3252, allocations: 117 kB / 1.267 GB, free: 64.75 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.377e-05/0.3253, allocations: 39.44 kB / 1.267 GB, free: 64.71 MB / 0.823 GB Notification: Performance of SimCode: time 6.31e-07/0.3253, allocations: 0 / 1.267 GB, free: 64.71 MB / 0.823 GB Notification: Performance of Templates: time 0.01332/0.3387, allocations: 9.048 MB / 1.276 GB, free: 55.78 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)