Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.744/1.744, allocations: 288.3 MB / 303.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001234, allocations: 181 kB / 371.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.849/1.849, allocations: 205.4 MB / 0.6306 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008387/0.0008387, allocations: 90.86 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003674, allocations: 11.31 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2089, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004099/0.2131, allocations: 4.619 MB / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003108/0.2162, allocations: 2.48 MB / 0.9864 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003715/0.2166, allocations: 19.88 kB / 0.9864 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.2169, allocations: 91.3 kB / 0.9865 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007033/0.2176, allocations: 323 kB / 0.9868 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006805/0.2183, allocations: 293.3 kB / 0.9871 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004914/0.2188, allocations: 0.5785 MB / 0.9876 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.2199, allocations: 0.7397 MB / 0.9883 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004555/0.2203, allocations: 287 kB / 0.9886 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004562/0.2208, allocations: 302.8 kB / 0.9889 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.766e-05/0.2209, allocations: 28 kB / 0.9889 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004226/0.2213, allocations: 147.8 kB / 0.9891 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.2215, allocations: 203.4 kB / 0.9893 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.2216, allocations: 141.4 kB / 0.9894 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006418/0.2223, allocations: 0.6975 MB / 0.9901 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2223, allocations: 0 / 0.9901 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.938e-06/0.2223, allocations: 4 kB / 0.9901 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.2223, allocations: 0 / 0.9901 GB, free: 16.7 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001225/0.2236, allocations: 0.8374 MB / 0.9909 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.2236, allocations: 11.97 kB / 0.9909 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.2247, allocations: 186.9 kB / 0.9911 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006974/0.2254, allocations: 477.5 kB / 0.9916 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.2255, allocations: 33 kB / 0.9916 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.2256, allocations: 51.98 kB / 0.9916 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008551/0.2265, allocations: 0.8239 MB / 0.9924 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.2265, allocations: 4 kB / 0.9924 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.182e-05/0.2266, allocations: 23.95 kB / 0.9925 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001648/0.2267, allocations: 68.94 kB / 0.9925 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006683/0.2274, allocations: 0.5696 MB / 0.9931 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003418/0.2308, allocations: 4.589 MB / 0.9976 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.2312, allocations: 291.3 kB / 0.9978 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.2313, allocations: 8.281 kB / 0.9979 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.2313, allocations: 38.84 kB / 0.9979 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 3.577e-06/0.2313, allocations: 0 / 0.9979 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.004539/0.2358, allocations: 2.63 MB / 1 GB, free: 5.418 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.2359, allocations: 59.36 kB / 1.001 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003608/0.2363, allocations: 449.9 kB / 1.001 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.2363, allocations: 37.7 kB / 1.001 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.2364, allocations: 335.7 kB / 1.001 GB, free: 4.516 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/0.2365, allocations: 145.9 kB / 1.001 GB, free: 4.371 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.2365, allocations: 8 kB / 1.001 GB, free: 4.363 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.504e-05/0.2366, allocations: 362.8 kB / 1.002 GB, free: 4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.2369, allocations: 240.9 kB / 1.002 GB, free: 3.762 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/0.2372, allocations: 402.5 kB / 1.002 GB, free: 3.293 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.2376, allocations: 297.4 kB / 1.003 GB, free: 3.004 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2376, allocations: 3.938 kB / 1.003 GB, free: 3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001303/0.2389, allocations: 0.9212 MB / 1.004 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.2389, allocations: 8 kB / 1.004 GB, free: 2.055 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.2389, allocations: 4 kB / 1.004 GB, free: 2.051 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000689/0.2396, allocations: 227 kB / 1.004 GB, free: 1.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/0.2401, allocations: 119.8 kB / 1.004 GB, free: 1.703 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004366/0.2445, allocations: 5.013 MB / 1.009 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000441/0.2449, allocations: 27.97 kB / 1.009 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.969e-05/0.245, allocations: 24 kB / 1.009 GB, free: 12.24 MB / 0.6355 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.0002921/0.2453, allocations: 221.6 kB / 1.009 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-05/0.2454, allocations: 55.34 kB / 1.009 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.2468, allocations: 0.7704 MB / 1.01 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.2468, allocations: 4 kB / 1.01 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2468, allocations: 8 kB / 1.01 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.2468, allocations: 3.984 kB / 1.01 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/0.2491, allocations: 1.499 MB / 1.011 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2491, allocations: 0 / 1.011 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/0.2495, allocations: 67.89 kB / 1.011 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006368/0.2502, allocations: 210.6 kB / 1.012 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.2502, allocations: 8 kB / 1.012 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004446/0.2546, allocations: 4.95 MB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2547, allocations: 4.406 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.2564, allocations: 1.217 MB / 1.018 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/0.2567, allocations: 168.7 kB / 1.018 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.701e-05/0.2568, allocations: 12.06 kB / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.2571, allocations: 31.95 kB / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.933e-05/0.2572, allocations: 39.86 kB / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.2572, allocations: 15.98 kB / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003212/0.2575, allocations: 314.8 kB / 1.018 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2575, allocations: 0 / 1.018 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006173/0.2581, allocations: 164 kB / 1.018 GB, free: 1.871 MB / 0.6355 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.0001419/0.2583, allocations: 115.2 kB / 1.019 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001491/0.2598, allocations: 0.9926 MB / 1.019 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2598, allocations: 4.125 kB / 1.019 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009249/0.2607, allocations: 0.6798 MB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006966/0.2614, allocations: 156.1 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.2634, allocations: 1.49 MB / 1.022 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/0.2639, allocations: 0.9611 MB / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003934/0.2643, allocations: 113 kB / 1.023 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.607e-05/0.2644, allocations: 35.44 kB / 1.023 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of SimCode: time 3.4e-07/0.2644, allocations: 4 kB / 1.023 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of Templates: time 0.01479/0.2792, allocations: 8.134 MB / 1.031 GB, free: 5.145 MB / 0.6511 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)