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.432/1.432, allocations: 252 MB / 268 MB, free: 10.85 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.001045/0.001045, allocations: 176.3 kB / 327.6 MB, free: 2.105 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.789/1.789, allocations: 205.4 MB / 0.5786 GB, free: 20.15 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.0007131/0.0007131, allocations: 74.39 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.0003361, allocations: 12.36 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1827, allocations: 106.3 MB / 0.9015 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004312/0.1871, allocations: 5.056 MB / 0.9064 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003321/0.1904, allocations: 2.627 MB / 0.909 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003453/0.1908, allocations: 23.81 kB / 0.909 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.1911, allocations: 103.1 kB / 0.9091 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007505/0.1918, allocations: 382.2 kB / 0.9094 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007465/0.1926, allocations: 366 kB / 0.9098 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008092/0.1934, allocations: 1.248 MB / 0.911 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.1944, allocations: 0.7832 MB / 0.9118 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000353/0.1948, allocations: 318.6 kB / 0.9121 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003928/0.1952, allocations: 378.4 kB / 0.9124 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.266e-05/0.1952, allocations: 28 kB / 0.9125 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006157/0.1959, allocations: 439 kB / 0.9129 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.196, allocations: 211.3 kB / 0.9131 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.1963, allocations: 340 kB / 0.9134 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005502/0.1968, allocations: 0.7327 MB / 0.9141 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1969, allocations: 0 / 0.9141 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1969, allocations: 8 kB / 0.9141 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.1969, allocations: 0 / 0.9141 GB, free: 50.46 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.00116/0.198, allocations: 0.8414 MB / 0.915 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1981, allocations: 12.03 kB / 0.915 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.1993, allocations: 195.9 kB / 0.9152 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005479/0.1999, allocations: 490.4 kB / 0.9156 GB, free: 48.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.1999, allocations: 33.38 kB / 0.9157 GB, free: 48.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.2001, allocations: 56.55 kB / 0.9157 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008968/0.201, allocations: 0.8318 MB / 0.9165 GB, free: 47.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.201, allocations: 7.906 kB / 0.9165 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.956e-05/0.2011, allocations: 20 kB / 0.9165 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001683/0.2013, allocations: 72.88 kB / 0.9166 GB, free: 47.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006906/0.202, allocations: 0.5658 MB / 0.9172 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003175/0.2052, allocations: 4.597 MB / 0.9217 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/0.2056, allocations: 303.1 kB / 0.9219 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.2058, allocations: 233.2 kB / 0.9222 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.2058, allocations: 4.281 kB / 0.9222 GB, free: 41.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.2059, allocations: 34.84 kB / 0.9222 GB, free: 41.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.923e-06/0.2059, allocations: 0 / 0.9222 GB, free: 41.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.004758/0.2106, allocations: 2.629 MB / 0.9248 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.2107, allocations: 55.41 kB / 0.9248 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.211, allocations: 461.9 kB / 0.9253 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.2111, allocations: 33.7 kB / 0.9253 GB, free: 38.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.2112, allocations: 335.7 kB / 0.9256 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.41e-05/0.2113, allocations: 145.9 kB / 0.9258 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.2113, allocations: 12 kB / 0.9258 GB, free: 37.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.28e-05/0.2114, allocations: 362.8 kB / 0.9261 GB, free: 37.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.2117, allocations: 237 kB / 0.9263 GB, free: 37.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.2121, allocations: 416.2 kB / 0.9267 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006553/0.2127, allocations: 0.6779 MB / 0.9274 GB, free: 36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2127, allocations: 0 / 0.9274 GB, free: 36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001343/0.2141, allocations: 0.9252 MB / 0.9283 GB, free: 35.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2141, allocations: 8 kB / 0.9283 GB, free: 35.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.2141, allocations: 4 kB / 0.9283 GB, free: 35.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000708/0.2148, allocations: 222.4 kB / 0.9285 GB, free: 34.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.2153, allocations: 115.8 kB / 0.9286 GB, free: 34.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003472/0.2188, allocations: 4.937 MB / 0.9335 GB, free: 29.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/0.2193, allocations: 31.97 kB / 0.9335 GB, free: 29.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/0.2193, allocations: 32.05 kB / 0.9335 GB, free: 29.31 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 (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.0002811/0.2196, allocations: 225.6 kB / 0.9337 GB, free: 29.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.2197, allocations: 55.34 kB / 0.9338 GB, free: 29.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.221, allocations: 0.778 MB / 0.9345 GB, free: 28.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.221, allocations: 7.984 kB / 0.9346 GB, free: 28.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.221, allocations: 0 / 0.9346 GB, free: 28.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.221, allocations: 3.938 kB / 0.9346 GB, free: 28.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.223, allocations: 1.505 MB / 0.936 GB, free: 26.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.223, allocations: 0 / 0.936 GB, free: 26.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.2234, allocations: 71.88 kB / 0.9361 GB, free: 26.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006163/0.224, allocations: 202.6 kB / 0.9363 GB, free: 26.35 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.224, allocations: 8 kB / 0.9363 GB, free: 26.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003256/0.2273, allocations: 4.876 MB / 0.9411 GB, free: 21.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2273, allocations: 4.062 kB / 0.9411 GB, free: 21.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.2288, allocations: 1.139 MB / 0.9422 GB, free: 19.87 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/0.229, allocations: 168.3 kB / 0.9423 GB, free: 19.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.15e-05/0.229, allocations: 15.92 kB / 0.9424 GB, free: 19.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003131/0.2294, allocations: 32.03 kB / 0.9424 GB, free: 19.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.447e-05/0.2295, allocations: 35.89 kB / 0.9424 GB, free: 19.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.2295, allocations: 16 kB / 0.9424 GB, free: 19.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002611/0.2298, allocations: 306.9 kB / 0.9427 GB, free: 19.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2298, allocations: 0 / 0.9427 GB, free: 19.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006153/0.2304, allocations: 168 kB / 0.9429 GB, free: 19.12 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 (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.0001377/0.2305, allocations: 118.4 kB / 0.943 GB, free: 19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001295/0.2318, allocations: 1 MB / 0.944 GB, free: 17.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2318, allocations: 4.125 kB / 0.944 GB, free: 17.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007767/0.2326, allocations: 0.6836 MB / 0.9446 GB, free: 17.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009056/0.2335, allocations: 162 kB / 0.9448 GB, free: 17.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.2353, allocations: 1.621 MB / 0.9464 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.2356, allocations: 0.9455 MB / 0.9473 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.2357, allocations: 43.44 kB / 0.9473 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/0.2358, allocations: 0 / 0.9473 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.01438/0.2501, allocations: 14.68 MB / 0.9617 GB, free: 15.76 MB / 0.6198 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)