Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.886/1.886, allocations: 288.4 MB / 303.7 MB, free: 8.086 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.0009692/0.0009692, allocations: 183.3 kB / 372.3 MB, free: 10.12 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.533/1.533, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.0009576/0.0009576, allocations: 98.94 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004862, allocations: 11 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2792, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.002976/0.2822, allocations: 2.49 MB / 0.9826 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002332/0.2846, allocations: 1.568 MB / 0.9841 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.2847, allocations: 7.938 kB / 0.9841 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.2849, allocations: 35.77 kB / 0.9841 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004766/0.2854, allocations: 159.3 kB / 0.9843 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.286, allocations: 188.2 kB / 0.9845 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003225/0.2863, allocations: 358.9 kB / 0.9848 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006647/0.287, allocations: 371.4 kB / 0.9852 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.2871, allocations: 111.6 kB / 0.9853 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.2874, allocations: 139.5 kB / 0.9854 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.2874, allocations: 11.94 kB / 0.9854 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003795/0.2878, allocations: 295.4 kB / 0.9857 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.733e-05/0.2879, allocations: 71.78 kB / 0.9858 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.483e-05/0.288, allocations: 125.2 kB / 0.9859 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.2883, allocations: 315.2 kB / 0.9862 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.2883, allocations: 0 / 0.9862 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2883, allocations: 0 / 0.9862 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.2883, allocations: 0 / 0.9862 GB, free: 21.09 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.0007673/0.2891, allocations: 0.5088 MB / 0.9867 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.2892, allocations: 8.031 kB / 0.9867 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006851/0.2898, allocations: 92.55 kB / 0.9868 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.2901, allocations: 257.5 kB / 0.987 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.2902, allocations: 8.75 kB / 0.987 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.2902, allocations: 24.27 kB / 0.9871 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00053/0.2907, allocations: 390.5 kB / 0.9874 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.2908, allocations: 4 kB / 0.9874 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.2908, allocations: 11.98 kB / 0.9874 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.1e-05/0.2909, allocations: 20.31 kB / 0.9875 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005146/0.2914, allocations: 332.6 kB / 0.9878 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.2929, allocations: 1.721 MB / 0.9895 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005991/0.2935, allocations: 349 kB / 0.9898 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.2937, allocations: 153.6 kB / 0.9899 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.2939, allocations: 85.09 kB / 0.99 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.2939, allocations: 38.56 kB / 0.9901 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.595e-06/0.2939, allocations: 0 / 0.9901 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.001192/0.2951, allocations: 0.6089 MB / 0.9906 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.2952, allocations: 89.11 kB / 0.9907 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.2953, allocations: 200.4 kB / 0.9909 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.2954, allocations: 33.7 kB / 0.991 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.2954, allocations: 159.8 kB / 0.9911 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.2955, allocations: 75 kB / 0.9912 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/0.2955, allocations: 4 kB / 0.9912 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.479e-05/0.2956, allocations: 326.8 kB / 0.9915 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.2958, allocations: 136.5 kB / 0.9916 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.296, allocations: 227.1 kB / 0.9918 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004533/0.2965, allocations: 371.7 kB / 0.9922 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2965, allocations: 0 / 0.9922 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000651/0.2972, allocations: 444.4 kB / 0.9926 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.427e-05/0.2972, allocations: 166.6 kB / 0.9928 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.2973, allocations: 4 kB / 0.9928 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002311/0.2975, allocations: 44.83 kB / 0.9928 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.2978, allocations: 71.88 kB / 0.9929 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.2989, allocations: 1.489 MB / 0.9943 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.2991, allocations: 35.81 kB / 0.9944 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.2991, allocations: 8 kB / 0.9944 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.452e-06/0.2991, allocations: 4 kB / 0.9944 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005801/0.2997, allocations: 368.3 kB / 0.9947 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2997, allocations: 7.938 kB / 0.9948 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001127/0.2999, allocations: 45.34 kB / 0.9948 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.3001, allocations: 75.88 kB / 0.9949 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008305/0.301, allocations: 1.489 MB / 0.9963 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.3011, allocations: 23.97 kB / 0.9963 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.3012, allocations: 16 kB / 0.9964 GB, free: 9.875 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.0001492/0.3013, allocations: 239 kB / 0.9966 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.3014, allocations: 23.72 kB / 0.9966 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006099/0.302, allocations: 360.1 kB / 0.997 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.302, allocations: 4 kB / 0.997 GB, free: 9.246 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.302, allocations: 0 / 0.997 GB, free: 9.246 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.302, allocations: 7.938 kB / 0.997 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.3032, allocations: 0.9706 MB / 0.9979 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3032, allocations: 4 kB / 0.9979 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.3034, allocations: 47.95 kB / 0.998 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001044/0.3035, allocations: 44.77 kB / 0.998 GB, free: 8.094 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.3036, allocations: 8.219 kB / 0.998 GB, free: 8.086 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007252/0.3043, allocations: 1.402 MB / 0.9994 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.3043, allocations: 7.969 kB / 0.9994 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005565/0.3049, allocations: 0.5471 MB / 0.9999 GB, free: 5.953 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.697e-05/0.305, allocations: 128.7 kB / 1 GB, free: 5.809 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.305, allocations: 8 kB / 1 GB, free: 5.801 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.3052, allocations: 31.97 kB / 1 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.3053, allocations: 15.98 kB / 1 GB, free: 5.754 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.3053, allocations: 8 kB / 1 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001182/0.3055, allocations: 162.8 kB / 1 GB, free: 5.586 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.91e-07/0.3055, allocations: 0 / 1 GB, free: 5.586 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006108/0.3061, allocations: 104 kB / 1 GB, free: 5.484 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.0001512/0.3062, allocations: 111.2 kB / 1 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001084/0.3073, allocations: 0.7382 MB / 1.001 GB, free: 4.605 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3073, allocations: 4 kB / 1.001 GB, free: 4.602 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003281/0.3077, allocations: 279.8 kB / 1.001 GB, free: 4.316 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.3082, allocations: 31.98 kB / 1.001 GB, free: 4.285 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008279/0.309, allocations: 0.6692 MB / 1.002 GB, free: 3.566 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.3092, allocations: 0.7678 MB / 1.003 GB, free: 2.773 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002282/0.3095, allocations: 93.94 kB / 1.003 GB, free: 2.684 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.928e-05/0.3095, allocations: 23.42 kB / 1.003 GB, free: 2.66 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/0.3095, allocations: 4 kB / 1.003 GB, free: 2.656 MB / 0.6198 GB Notification: Performance of Templates: time 0.005797/0.3154, allocations: 2.987 MB / 1.006 GB, free: 15.67 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)