Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.735/2.735, allocations: 287.3 MB / 302.3 MB, free: 8.41 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.0015/0.0015, allocations: 190.9 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.454/2.454, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001133/0.001133, allocations: 88.97 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006343/0.0006342, allocations: 12.52 kB / 0.8656 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2454, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005496/0.2509, allocations: 3.695 MB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005546/0.2565, allocations: 2.929 MB / 0.9847 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003949/0.257, allocations: 11.94 kB / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007539/0.2578, allocations: 163.2 kB / 0.9848 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.259, allocations: 295 kB / 0.9851 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000728/0.2597, allocations: 171.6 kB / 0.9853 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007677/0.2605, allocations: 343.3 kB / 0.9856 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001626/0.2622, allocations: 0.7177 MB / 0.9863 GB, free: 20 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003667/0.2626, allocations: 167.4 kB / 0.9865 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003596/0.263, allocations: 167.3 kB / 0.9866 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.3e-05/0.263, allocations: 20 kB / 0.9867 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007993/0.2638, allocations: 239.7 kB / 0.9869 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.264, allocations: 131.6 kB / 0.987 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.2642, allocations: 105.5 kB / 0.9871 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.2652, allocations: 0.6665 MB / 0.9878 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.2652, allocations: 0 / 0.9878 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2653, allocations: 0 / 0.9878 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.2653, allocations: 0 / 0.9878 GB, free: 18.51 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001671/0.267, allocations: 0.7147 MB / 0.9885 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.267, allocations: 16.02 kB / 0.9885 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004884/0.2719, allocations: 0.6937 MB / 0.9891 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.2732, allocations: 482.5 kB / 0.9896 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.2733, allocations: 20.66 kB / 0.9896 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.2734, allocations: 32 kB / 0.9897 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/0.2759, allocations: 0.7942 MB / 0.9904 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/0.276, allocations: 0 / 0.9904 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-05/0.2761, allocations: 16 kB / 0.9904 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002077/0.2763, allocations: 52.59 kB / 0.9905 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003412/0.2797, allocations: 0.8726 MB / 0.9914 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005735/0.2855, allocations: 2.859 MB / 0.9941 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002734/0.2883, allocations: 0.5242 MB / 0.9947 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/0.2885, allocations: 85.09 kB / 0.9947 GB, free: 11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.2885, allocations: 38.52 kB / 0.9948 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 3.747e-06/0.2885, allocations: 4 kB / 0.9948 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.01995/0.3085, allocations: 3.207 MB / 0.9979 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.3086, allocations: 85.11 kB / 0.998 GB, free: 7.602 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006696/0.3093, allocations: 413.6 kB / 0.9984 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.868e-05/0.3094, allocations: 29.7 kB / 0.9984 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.3096, allocations: 243.8 kB / 0.9986 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.3097, allocations: 86.75 kB / 0.9987 GB, free: 6.828 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.3097, allocations: 4 kB / 0.9987 GB, free: 6.824 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.096e-05/0.3098, allocations: 346.8 kB / 0.9991 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/0.3113, allocations: 371.5 kB / 0.9994 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.3129, allocations: 445.1 kB / 0.9998 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.3145, allocations: 384.9 kB / 1 GB, free: 5.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.433e-06/0.3145, allocations: 4 kB / 1 GB, free: 5.266 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.008754/0.3233, allocations: 1.547 MB / 1.002 GB, free: 3.707 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001915/0.3235, allocations: 0.7901 MB / 1.002 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.3235, allocations: 3.984 kB / 1.002 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006975/0.3305, allocations: 0.8442 MB / 1.003 GB, free: 2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.3316, allocations: 135.8 kB / 1.003 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/0.3434, allocations: 4.788 MB / 1.008 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.3448, allocations: 119.8 kB / 1.008 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.77e-05/0.345, allocations: 15.98 kB / 1.008 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.345, allocations: 4 kB / 1.008 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007804/0.3528, allocations: 1.253 MB / 1.009 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.3529, allocations: 0 / 1.009 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0048/0.3577, allocations: 0.5551 MB / 1.01 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.359, allocations: 151.8 kB / 1.01 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006491/0.3655, allocations: 2.561 MB / 1.013 GB, free: 8.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.3668, allocations: 111.9 kB / 1.013 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.258e-05/0.3669, allocations: 15.98 kB / 1.013 GB, free: 7.887 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005651/0.3675, allocations: 316.9 kB / 1.013 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.3677, allocations: 35.62 kB / 1.013 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00956/0.3772, allocations: 1.436 MB / 1.015 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/0.3773, allocations: 0 / 1.015 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.3774, allocations: 4 kB / 1.015 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/0.3774, allocations: 3.984 kB / 1.015 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01614/0.3935, allocations: 2.087 MB / 1.017 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-05/0.3936, allocations: 11.92 kB / 1.017 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/0.3949, allocations: 79.91 kB / 1.017 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01004/0.4049, allocations: 0.7935 MB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/0.4051, allocations: 4 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01351/0.4187, allocations: 4.607 MB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.4187, allocations: 3.938 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008822/0.4276, allocations: 1.48 MB / 1.023 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004817/0.4281, allocations: 172.7 kB / 1.024 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.4282, allocations: 11.98 kB / 1.024 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.4294, allocations: 95.84 kB / 1.024 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.4296, allocations: 23.91 kB / 1.024 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.363e-05/0.4297, allocations: 11.95 kB / 1.024 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006183/0.4303, allocations: 315.1 kB / 1.024 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.6e-07/0.4303, allocations: 0 / 1.024 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00132/0.4317, allocations: 204 kB / 1.024 GB, free: 11.77 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002964/0.432, allocations: 119.1 kB / 1.024 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00675/0.4388, allocations: 1.621 MB / 1.026 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/0.4388, allocations: 0 / 1.026 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002355/0.4412, allocations: 0.6759 MB / 1.027 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.4423, allocations: 109.3 kB / 1.027 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003319/0.4456, allocations: 1.207 MB / 1.028 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007613/0.4464, allocations: 0.9249 MB / 1.029 GB, free: 6.992 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001024/0.4475, allocations: 155.2 kB / 1.029 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.4478, allocations: 39.42 kB / 1.029 GB, free: 6.805 MB / 0.6511 GB Notification: Performance of SimCode: time 1.072e-06/0.4478, allocations: 0 / 1.029 GB, free: 6.805 MB / 0.6511 GB Notification: Performance of Templates: time 0.03392/0.4817, allocations: 11.93 MB / 1.041 GB, free: 10.93 MB / 0.6667 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)