Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.797/2.797, allocations: 287.5 MB / 302.4 MB, free: 8.359 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.001482/0.001483, allocations: 178.7 kB / 371 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.494/2.494, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.001583/0.001583, allocations: 83.06 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006391/0.0006393, allocations: 12.75 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2719, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.0039/0.2759, allocations: 2.49 MB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00334/0.2793, allocations: 1.568 MB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.2795, allocations: 7.938 kB / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.2798, allocations: 27.78 kB / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005718/0.2803, allocations: 139.4 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007032/0.2811, allocations: 167.6 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004944/0.2816, allocations: 350.9 kB / 0.983 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009574/0.2825, allocations: 367.1 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.2828, allocations: 95.62 kB / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003185/0.2831, allocations: 143.5 kB / 0.9836 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.2832, allocations: 8 kB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004672/0.2837, allocations: 139.8 kB / 0.9837 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.903e-05/0.2838, allocations: 71.78 kB / 0.9838 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.042e-05/0.2839, allocations: 65.58 kB / 0.9838 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004814/0.2844, allocations: 311.5 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2844, allocations: 0 / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2844, allocations: 0 / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.2844, allocations: 0 / 0.9841 GB, free: 22.38 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001012/0.2855, allocations: 0.495 MB / 0.9846 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.2855, allocations: 19.91 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.2866, allocations: 103.6 kB / 0.9847 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.287, allocations: 244 kB / 0.985 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.287, allocations: 16.38 kB / 0.985 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-05/0.2871, allocations: 23.89 kB / 0.985 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00082/0.2879, allocations: 382.2 kB / 0.9854 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.288, allocations: 0 / 0.9854 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.445e-05/0.288, allocations: 15.94 kB / 0.9854 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.323e-05/0.2881, allocations: 20.31 kB / 0.9854 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009234/0.289, allocations: 340.6 kB / 0.9857 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.2914, allocations: 1.724 MB / 0.9874 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.2925, allocations: 341 kB / 0.9877 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004182/0.293, allocations: 153.6 kB / 0.9879 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/0.2931, allocations: 89.09 kB / 0.988 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.2932, allocations: 38.56 kB / 0.988 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.735e-06/0.2932, allocations: 0 / 0.988 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.002063/0.2953, allocations: 0.6092 MB / 0.9886 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.2953, allocations: 81.11 kB / 0.9887 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.2956, allocations: 208.3 kB / 0.9889 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.2956, allocations: 33.7 kB / 0.9889 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.83e-05/0.2957, allocations: 155.9 kB / 0.9891 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.94e-05/0.2958, allocations: 70.94 kB / 0.9891 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.2958, allocations: 4 kB / 0.9891 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.081e-05/0.2959, allocations: 330.8 kB / 0.9894 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/0.2963, allocations: 136.5 kB / 0.9896 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004185/0.2968, allocations: 219.5 kB / 0.9898 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004432/0.2972, allocations: 164.8 kB / 0.9899 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2972, allocations: 0 / 0.9899 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001234/0.2985, allocations: 433.1 kB / 0.9904 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.767e-05/0.2986, allocations: 178.7 kB / 0.9905 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.2986, allocations: 0 / 0.9905 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003312/0.2989, allocations: 44.81 kB / 0.9906 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005517/0.2995, allocations: 75.88 kB / 0.9906 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.3011, allocations: 1.485 MB / 0.9921 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/0.3016, allocations: 31.81 kB / 0.9921 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.3016, allocations: 20.06 kB / 0.9921 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/0.3016, allocations: 7.938 kB / 0.9921 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001085/0.3027, allocations: 366.5 kB / 0.9925 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3028, allocations: 7.953 kB / 0.9925 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002185/0.303, allocations: 37.02 kB / 0.9925 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/0.3035, allocations: 67.89 kB / 0.9926 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.3049, allocations: 1.489 MB / 0.9941 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.3053, allocations: 35.84 kB / 0.9941 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.3053, allocations: 12 kB / 0.9941 GB, free: 11.42 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002374/0.3056, allocations: 233 kB / 0.9943 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.699e-05/0.3057, allocations: 27.67 kB / 0.9944 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.3067, allocations: 370 kB / 0.9947 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.3067, allocations: 4 kB / 0.9947 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3068, allocations: 0 / 0.9947 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3068, allocations: 3.938 kB / 0.9947 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.3088, allocations: 0.9618 MB / 0.9957 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.3088, allocations: 4.219 kB / 0.9957 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000429/0.3093, allocations: 59.89 kB / 0.9957 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002053/0.3095, allocations: 36.83 kB / 0.9957 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.3095, allocations: 8 kB / 0.9958 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.3108, allocations: 1.413 MB / 0.9971 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3108, allocations: 4.031 kB / 0.9971 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.3119, allocations: 0.5316 MB / 0.9977 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.312, allocations: 136.7 kB / 0.9978 GB, free: 7.352 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.3121, allocations: 11.98 kB / 0.9978 GB, free: 7.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003712/0.3125, allocations: 15.98 kB / 0.9978 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-05/0.3126, allocations: 23.91 kB / 0.9978 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.3126, allocations: 8 kB / 0.9978 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001747/0.3128, allocations: 163.7 kB / 0.998 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3128, allocations: 0 / 0.998 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008295/0.3137, allocations: 104 kB / 0.9981 GB, free: 7.031 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001687/0.3138, allocations: 103.2 kB / 0.9982 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001906/0.3158, allocations: 0.7363 MB / 0.9989 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.3158, allocations: 0 / 0.9989 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005911/0.3164, allocations: 278.4 kB / 0.9992 GB, free: 5.875 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006785/0.3171, allocations: 32.61 kB / 0.9992 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.3185, allocations: 0.6692 MB / 0.9999 GB, free: 5.125 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.3188, allocations: 0.7717 MB / 1.001 GB, free: 4.328 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004241/0.3192, allocations: 85.86 kB / 1.001 GB, free: 4.246 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.3193, allocations: 19.44 kB / 1.001 GB, free: 4.227 MB / 0.6198 GB Notification: Performance of SimCode: time 1.273e-06/0.3194, allocations: 0 / 1.001 GB, free: 4.227 MB / 0.6198 GB Notification: Performance of Templates: time 0.009018/0.3284, allocations: 3.001 MB / 1.004 GB, free: 1.234 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)