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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.379/1.379, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001012/0.001012, allocations: 180.9 kB / 326.5 MB, free: 2.707 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.456/1.456, allocations: 205 MB / 0.5766 GB, free: 21 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.000678/0.0006781, allocations: 94.22 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 8.844 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1832, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005516/0.1888, allocations: 6.377 MB / 0.903 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004061/0.1929, allocations: 3.076 MB / 0.906 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006915/0.1936, allocations: 19.88 kB / 0.906 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002078/0.1957, allocations: 0.8902 MB / 0.9069 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.1969, allocations: 473.7 kB / 0.9073 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009488/0.1979, allocations: 381.1 kB / 0.9077 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001389/0.1993, allocations: 1.591 MB / 0.9092 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008826/0.2001, allocations: 0.648 MB / 0.9099 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005824/0.2007, allocations: 394.3 kB / 0.9102 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006285/0.2014, allocations: 0.4902 MB / 0.9107 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.2015, allocations: 36 kB / 0.9108 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007689/0.2023, allocations: 443.1 kB / 0.9112 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002524/0.2026, allocations: 271.1 kB / 0.9114 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004175/0.203, allocations: 409.8 kB / 0.9118 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00079/0.2038, allocations: 0.9116 MB / 0.9127 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2038, allocations: 0 / 0.9127 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2038, allocations: 0 / 0.9127 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.828e-05/0.2039, allocations: 4 kB / 0.9127 GB, free: 51.77 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001589/0.2054, allocations: 1.005 MB / 0.9137 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.2055, allocations: 8.031 kB / 0.9137 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/0.207, allocations: 239.6 kB / 0.9139 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008021/0.2079, allocations: 0.5375 MB / 0.9145 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.2079, allocations: 49.69 kB / 0.9145 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.208, allocations: 64.27 kB / 0.9146 GB, free: 49.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.2093, allocations: 1.093 MB / 0.9156 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.2094, allocations: 7.938 kB / 0.9157 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.815e-05/0.2095, allocations: 28 kB / 0.9157 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001284/0.2096, allocations: 85.25 kB / 0.9158 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.2106, allocations: 0.7504 MB / 0.9165 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003924/0.2146, allocations: 5.905 MB / 0.9223 GB, free: 41.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007938/0.2154, allocations: 0.5554 MB / 0.9228 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/0.2158, allocations: 326 kB / 0.9231 GB, free: 40.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.2158, allocations: 8.438 kB / 0.9231 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.2158, allocations: 39 kB / 0.9232 GB, free: 40.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 2.485e-06/0.2158, allocations: 0 / 0.9232 GB, free: 40.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.003302/0.2191, allocations: 1.99 MB / 0.9251 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.2192, allocations: 59.84 kB / 0.9252 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/0.2197, allocations: 0.5548 MB / 0.9257 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.2197, allocations: 33.7 kB / 0.9257 GB, free: 37.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.2199, allocations: 414.9 kB / 0.9261 GB, free: 37.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.373e-05/0.22, allocations: 173.6 kB / 0.9263 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.387e-05/0.22, allocations: 57.69 kB / 0.9263 GB, free: 37.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.928e-05/0.2201, allocations: 378.7 kB / 0.9267 GB, free: 36.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/0.2204, allocations: 273.8 kB / 0.927 GB, free: 36.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.2208, allocations: 0.4892 MB / 0.9274 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000728/0.2216, allocations: 0.8093 MB / 0.9282 GB, free: 34.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2216, allocations: 4 kB / 0.9282 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001468/0.2231, allocations: 1.087 MB / 0.9293 GB, free: 33.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2231, allocations: 11.98 kB / 0.9293 GB, free: 33.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.2231, allocations: 8 kB / 0.9293 GB, free: 33.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000769/0.2239, allocations: 279.2 kB / 0.9296 GB, free: 33.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004239/0.2243, allocations: 123.8 kB / 0.9297 GB, free: 33.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004416/0.2287, allocations: 6.591 MB / 0.9361 GB, free: 26.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005585/0.2293, allocations: 47.89 kB / 0.9362 GB, free: 26.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/0.2294, allocations: 24 kB / 0.9362 GB, free: 26.15 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.000285/0.2297, allocations: 262.9 kB / 0.9365 GB, free: 25.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.312e-05/0.2298, allocations: 71.16 kB / 0.9365 GB, free: 25.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.231, allocations: 0.8963 MB / 0.9374 GB, free: 24.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.2311, allocations: 4 kB / 0.9374 GB, free: 24.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.2311, allocations: 4 kB / 0.9374 GB, free: 24.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2311, allocations: 3.984 kB / 0.9374 GB, free: 24.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/0.2331, allocations: 1.72 MB / 0.9391 GB, free: 23.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.2331, allocations: 7.938 kB / 0.9391 GB, free: 23.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.2334, allocations: 63.88 kB / 0.9392 GB, free: 23.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006995/0.2341, allocations: 263.4 kB / 0.9394 GB, free: 22.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.432e-05/0.2341, allocations: 12 kB / 0.9394 GB, free: 22.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004404/0.2385, allocations: 6.595 MB / 0.9459 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2386, allocations: 7.969 kB / 0.9459 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.2398, allocations: 0.9874 MB / 0.9468 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/0.24, allocations: 184.3 kB / 0.947 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.206e-05/0.2401, allocations: 19.92 kB / 0.947 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/0.2405, allocations: 27.97 kB / 0.9471 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/0.2406, allocations: 43.89 kB / 0.9471 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.2406, allocations: 16 kB / 0.9471 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003287/0.2409, allocations: 379.1 kB / 0.9475 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2409, allocations: 0 / 0.9475 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006983/0.2416, allocations: 228 kB / 0.9477 GB, free: 13.66 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001241/0.2418, allocations: 119.2 kB / 0.9478 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.2433, allocations: 1.275 MB / 0.9491 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.2433, allocations: 0 / 0.9491 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009458/0.2443, allocations: 0.9014 MB / 0.9499 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.2453, allocations: 208.4 kB / 0.9501 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.2473, allocations: 1.696 MB / 0.9518 GB, free: 9.312 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.2478, allocations: 1.013 MB / 0.9528 GB, free: 8.273 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.2479, allocations: 43.44 kB / 0.9528 GB, free: 8.23 MB / 0.6042 GB Notification: Performance of SimCode: time 9.22e-07/0.2479, allocations: 0 / 0.9528 GB, free: 8.23 MB / 0.6042 GB Notification: Performance of Templates: time 0.02385/0.2718, allocations: 20.55 MB / 0.9729 GB, free: 3.723 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)