Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.508/1.508, allocations: 252 MB / 267.6 MB, free: 10.93 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.001123/0.001122, allocations: 183.6 kB / 327.3 MB, free: 2.203 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.872/1.872, allocations: 205.4 MB / 0.5783 GB, free: 20.51 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.0008823/0.0008819, allocations: 83.42 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004759/0.000476, allocations: 5.906 kB / 0.797 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2342, allocations: 106.3 MB / 0.9008 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004148/0.2384, allocations: 4.82 MB / 0.9055 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00293/0.2414, allocations: 2.507 MB / 0.908 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002683/0.2416, allocations: 19.88 kB / 0.908 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.2419, allocations: 103.1 kB / 0.9081 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000611/0.2425, allocations: 326.2 kB / 0.9084 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006057/0.2431, allocations: 293.5 kB / 0.9087 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006599/0.2438, allocations: 1.041 MB / 0.9097 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009741/0.2448, allocations: 0.7398 MB / 0.9104 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003216/0.2451, allocations: 314.7 kB / 0.9107 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003482/0.2455, allocations: 374.6 kB / 0.9111 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.518e-05/0.2455, allocations: 28 kB / 0.9111 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003681/0.2459, allocations: 187.7 kB / 0.9113 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.2461, allocations: 215.4 kB / 0.9115 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.246e-05/0.2462, allocations: 141.4 kB / 0.9116 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004735/0.2466, allocations: 0.7132 MB / 0.9123 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2467, allocations: 4 kB / 0.9123 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2467, allocations: 4 kB / 0.9123 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.2467, allocations: 0 / 0.9123 GB, free: 52.43 MB / 0.6042 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.001056/0.2477, allocations: 0.8529 MB / 0.9132 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.748e-05/0.2478, allocations: 8.031 kB / 0.9132 GB, free: 51.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.249, allocations: 199 kB / 0.9134 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/0.2495, allocations: 477.4 kB / 0.9138 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.2496, allocations: 40.98 kB / 0.9139 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.2497, allocations: 51.91 kB / 0.9139 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008544/0.2506, allocations: 0.8316 MB / 0.9147 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.2506, allocations: 4 kB / 0.9147 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.996e-05/0.2506, allocations: 23.98 kB / 0.9148 GB, free: 49.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001597/0.2508, allocations: 64.95 kB / 0.9148 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006725/0.2515, allocations: 0.5696 MB / 0.9154 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003017/0.2545, allocations: 4.585 MB / 0.9198 GB, free: 44.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/0.2549, allocations: 295.2 kB / 0.9201 GB, free: 43.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.2551, allocations: 229.3 kB / 0.9203 GB, free: 43.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.2552, allocations: 4.281 kB / 0.9204 GB, free: 43.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.2552, allocations: 34.84 kB / 0.9204 GB, free: 43.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.2552, allocations: 3.938 kB / 0.9204 GB, free: 43.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.004634/0.2598, allocations: 2.634 MB / 0.923 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.2599, allocations: 59.41 kB / 0.923 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.2603, allocations: 449.9 kB / 0.9234 GB, free: 40.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.2603, allocations: 33.7 kB / 0.9235 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.2605, allocations: 347.6 kB / 0.9238 GB, free: 39.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.966e-05/0.2605, allocations: 134.1 kB / 0.9239 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.2606, allocations: 12 kB / 0.9239 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.2606, allocations: 358.8 kB / 0.9243 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.2609, allocations: 237 kB / 0.9245 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.2613, allocations: 408.5 kB / 0.9249 GB, free: 38.76 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.2616, allocations: 293.5 kB / 0.9252 GB, free: 38.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2616, allocations: 3.938 kB / 0.9252 GB, free: 38.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00134/0.263, allocations: 0.9136 MB / 0.9261 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.263, allocations: 11.98 kB / 0.9261 GB, free: 37.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.263, allocations: 4.656 kB / 0.9261 GB, free: 37.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006818/0.2637, allocations: 222.4 kB / 0.9263 GB, free: 37.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/0.2642, allocations: 115.8 kB / 0.9264 GB, free: 37.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003401/0.2676, allocations: 4.942 MB / 0.9312 GB, free: 31.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000467/0.2681, allocations: 31.97 kB / 0.9313 GB, free: 31.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.2681, allocations: 24 kB / 0.9313 GB, free: 31.78 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002677/0.2684, allocations: 225.7 kB / 0.9315 GB, free: 31.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-05/0.2685, allocations: 59.33 kB / 0.9316 GB, free: 31.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.2697, allocations: 0.7695 MB / 0.9323 GB, free: 30.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2698, allocations: 4 kB / 0.9323 GB, free: 30.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2698, allocations: 7.984 kB / 0.9323 GB, free: 30.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2698, allocations: 0 / 0.9323 GB, free: 30.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.2716, allocations: 1.494 MB / 0.9338 GB, free: 29.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2717, allocations: 8.219 kB / 0.9338 GB, free: 29.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.272, allocations: 71.88 kB / 0.9339 GB, free: 29.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005934/0.2726, allocations: 206.3 kB / 0.9341 GB, free: 28.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.2727, allocations: 12 kB / 0.9341 GB, free: 28.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003135/0.2758, allocations: 4.86 MB / 0.9388 GB, free: 23.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2758, allocations: 0 / 0.9388 GB, free: 23.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.2773, allocations: 1.144 MB / 0.9399 GB, free: 22.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.2775, allocations: 168.3 kB / 0.9401 GB, free: 22.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.2775, allocations: 15.94 kB / 0.9401 GB, free: 22.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.2779, allocations: 27.95 kB / 0.9401 GB, free: 22.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.2779, allocations: 39.92 kB / 0.9402 GB, free: 22.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.278, allocations: 19.98 kB / 0.9402 GB, free: 22.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002509/0.2782, allocations: 306.9 kB / 0.9405 GB, free: 21.78 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.91e-07/0.2782, allocations: 0 / 0.9405 GB, free: 21.78 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000567/0.2788, allocations: 164 kB / 0.9407 GB, free: 21.62 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001215/0.2789, allocations: 111.8 kB / 0.9408 GB, free: 21.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.2802, allocations: 1.009 MB / 0.9417 GB, free: 20.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2802, allocations: 0 / 0.9417 GB, free: 20.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007335/0.2809, allocations: 0.6799 MB / 0.9424 GB, free: 19.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007833/0.2817, allocations: 166.7 kB / 0.9426 GB, free: 19.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.2833, allocations: 1.558 MB / 0.9441 GB, free: 17.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.2837, allocations: 0.9377 MB / 0.945 GB, free: 17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.2838, allocations: 39.44 kB / 0.945 GB, free: 16.96 MB / 0.6042 GB Notification: Performance of SimCode: time 6.42e-07/0.2839, allocations: 4 kB / 0.945 GB, free: 16.95 MB / 0.6042 GB Notification: Performance of Templates: time 0.0132/0.2971, allocations: 14.69 MB / 0.9594 GB, free: 2.297 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)