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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.877/1.877, allocations: 288.3 MB / 303.2 MB, free: 8.227 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.001264/0.001264, allocations: 191.6 kB / 371.9 MB, free: 10.28 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.884/1.884, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0009038/0.0009036, allocations: 102.8 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004284, allocations: 11.16 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1998, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005735/0.2056, allocations: 5.718 MB / 0.985 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004185/0.2099, allocations: 2.894 MB / 0.9878 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004394/0.2103, allocations: 23.81 kB / 0.9879 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.2106, allocations: 119.2 kB / 0.988 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.2117, allocations: 418.7 kB / 0.9884 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008134/0.2125, allocations: 329.2 kB / 0.9887 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006616/0.2132, allocations: 0.7272 MB / 0.9894 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.2144, allocations: 0.9249 MB / 0.9903 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003615/0.2148, allocations: 350.7 kB / 0.9906 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005304/0.2153, allocations: 398.5 kB / 0.991 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.054e-05/0.2154, allocations: 32 kB / 0.991 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.2157, allocations: 147.8 kB / 0.9912 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.2159, allocations: 255.2 kB / 0.9914 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.216, allocations: 173.3 kB / 0.9916 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005651/0.2166, allocations: 0.8651 MB / 0.9924 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.2166, allocations: 0 / 0.9924 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2166, allocations: 0 / 0.9924 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.2166, allocations: 0 / 0.9924 GB, free: 14.31 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001325/0.2179, allocations: 1.001 MB / 0.9934 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.218, allocations: 12.03 kB / 0.9934 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.2191, allocations: 218.7 kB / 0.9936 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006875/0.2198, allocations: 0.5249 MB / 0.9942 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.2198, allocations: 49.3 kB / 0.9942 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.766e-05/0.2199, allocations: 63.98 kB / 0.9943 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.221, allocations: 1.073 MB / 0.9953 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.2211, allocations: 7.906 kB / 0.9953 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-05/0.2211, allocations: 31.98 kB / 0.9953 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/0.2213, allocations: 93.12 kB / 0.9954 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009165/0.2222, allocations: 0.7426 MB / 0.9962 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004376/0.2266, allocations: 5.901 MB / 1.002 GB, free: 3.973 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000827/0.2274, allocations: 0.5555 MB / 1.002 GB, free: 3.406 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.2275, allocations: 8.375 kB / 1.002 GB, free: 3.398 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.2275, allocations: 39 kB / 1.003 GB, free: 3.352 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 2.414e-06/0.2275, allocations: 0 / 1.003 GB, free: 3.352 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.00343/0.2309, allocations: 1.988 MB / 1.004 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.231, allocations: 55.84 kB / 1.005 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000524/0.2315, allocations: 0.547 MB / 1.005 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.2315, allocations: 29.7 kB / 1.005 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.2318, allocations: 418.9 kB / 1.005 GB, free: 196 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.232, allocations: 169.6 kB / 1.006 GB, free: 24 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.232, allocations: 16 kB / 1.006 GB, free: 8 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002612/0.2323, allocations: 370.8 kB / 1.006 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004399/0.2327, allocations: 273.8 kB / 1.006 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006015/0.2333, allocations: 492.9 kB / 1.007 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005401/0.2339, allocations: 354 kB / 1.007 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2339, allocations: 0 / 1.007 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001915/0.2358, allocations: 1.082 MB / 1.008 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.2359, allocations: 8 kB / 1.008 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.2359, allocations: 8.875 kB / 1.008 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008959/0.2368, allocations: 283.2 kB / 1.008 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004915/0.2373, allocations: 123.8 kB / 1.009 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006485/0.2438, allocations: 6.697 MB / 1.015 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006677/0.2445, allocations: 43.95 kB / 1.015 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/0.2445, allocations: 24 kB / 1.015 GB, free: 5.621 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003656/0.2449, allocations: 249.6 kB / 1.015 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-05/0.245, allocations: 75.22 kB / 1.015 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.2465, allocations: 0.8846 MB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.2465, allocations: 4 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.2466, allocations: 4 kB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2466, allocations: 7.984 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/0.2491, allocations: 1.713 MB / 1.018 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.2491, allocations: 4 kB / 1.018 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.2494, allocations: 63.89 kB / 1.018 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007214/0.2501, allocations: 271.3 kB / 1.018 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/0.2502, allocations: 12 kB / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006651/0.2568, allocations: 6.689 MB / 1.025 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.2569, allocations: 7.969 kB / 1.025 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.2587, allocations: 1.048 MB / 1.026 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003855/0.2591, allocations: 196.2 kB / 1.026 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.72e-05/0.2592, allocations: 11.98 kB / 1.026 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/0.2595, allocations: 31.97 kB / 1.026 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.2596, allocations: 43.83 kB / 1.026 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.2597, allocations: 16 kB / 1.026 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004472/0.2601, allocations: 379.1 kB / 1.027 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2601, allocations: 0 / 1.027 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008763/0.261, allocations: 224 kB / 1.027 GB, free: 8.949 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000175/0.2612, allocations: 115.2 kB / 1.027 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002091/0.2633, allocations: 1.264 MB / 1.028 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2633, allocations: 3.938 kB / 1.028 GB, free: 7.512 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.2645, allocations: 0.8893 MB / 1.029 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008432/0.2654, allocations: 197.6 kB / 1.029 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.2676, allocations: 1.581 MB / 1.031 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006347/0.2682, allocations: 1.02 MB / 1.032 GB, free: 3.711 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004085/0.2686, allocations: 126 kB / 1.032 GB, free: 3.586 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.2688, allocations: 39.44 kB / 1.032 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of SimCode: time 1.814e-06/0.2688, allocations: 0 / 1.032 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of Templates: time 0.01625/0.285, allocations: 10.27 MB / 1.042 GB, free: 9.395 MB / 0.6667 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)