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 1.736/1.736, allocations: 287.5 MB / 302.6 MB, free: 8.207 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.002129/0.002129, allocations: 196.3 kB / 371.2 MB, free: 10.8 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.801/1.801, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0008765/0.0008767, allocations: 109.3 kB / 0.7432 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007954/0.0007955, allocations: 15.73 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2712, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003153/0.2744, allocations: 2.498 MB / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002555/0.277, allocations: 1.564 MB / 0.9826 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002489/0.2773, allocations: 0 / 0.9826 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.2776, allocations: 31.72 kB / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005849/0.2782, allocations: 147.3 kB / 0.9828 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008063/0.279, allocations: 171.5 kB / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006345/0.2796, allocations: 354.9 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008165/0.2805, allocations: 367.4 kB / 0.9837 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.2807, allocations: 103.6 kB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.281, allocations: 135.5 kB / 0.9839 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.2811, allocations: 16 kB / 0.9839 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003332/0.2814, allocations: 139.8 kB / 0.984 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.413e-05/0.2815, allocations: 71.78 kB / 0.9841 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.692e-05/0.2816, allocations: 69.52 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004055/0.282, allocations: 299.2 kB / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.282, allocations: 0 / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.735e-06/0.282, allocations: 0 / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.972e-05/0.2821, allocations: 0 / 0.9845 GB, free: 22.19 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.000954/0.283, allocations: 0.5068 MB / 0.985 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.2831, allocations: 8.031 kB / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007438/0.2838, allocations: 88.56 kB / 0.9851 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.2842, allocations: 265.1 kB / 0.9853 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.2842, allocations: 12.75 kB / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.968e-05/0.2843, allocations: 24.28 kB / 0.9853 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000573/0.2849, allocations: 386.3 kB / 0.9857 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.2849, allocations: 0 / 0.9857 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.2849, allocations: 11.98 kB / 0.9857 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/0.285, allocations: 28.3 kB / 0.9857 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005501/0.2856, allocations: 336.7 kB / 0.9861 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.2871, allocations: 1.721 MB / 0.9877 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006237/0.2877, allocations: 337 kB / 0.9881 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.288, allocations: 157.6 kB / 0.9882 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/0.2881, allocations: 89.11 kB / 0.9883 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.2882, allocations: 38.55 kB / 0.9883 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.2882, allocations: 0 / 0.9883 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.001278/0.2895, allocations: 0.6076 MB / 0.9889 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.2895, allocations: 85.03 kB / 0.989 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.2897, allocations: 204.4 kB / 0.9892 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.2897, allocations: 29.7 kB / 0.9892 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.2898, allocations: 171.8 kB / 0.9894 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.2899, allocations: 67 kB / 0.9895 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/0.2899, allocations: 8 kB / 0.9895 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.096e-05/0.29, allocations: 330.8 kB / 0.9898 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.2902, allocations: 132.5 kB / 0.9899 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.2904, allocations: 219.3 kB / 0.9901 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004631/0.2909, allocations: 373.9 kB / 0.9905 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2909, allocations: 4 kB / 0.9905 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000674/0.2916, allocations: 433.1 kB / 0.9909 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.775e-05/0.2917, allocations: 176.9 kB / 0.9911 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2917, allocations: 0 / 0.9911 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002239/0.2919, allocations: 48.75 kB / 0.9911 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.2922, allocations: 75.89 kB / 0.9912 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/0.2932, allocations: 1.481 MB / 0.9926 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.2935, allocations: 39.97 kB / 0.9927 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.2935, allocations: 20 kB / 0.9927 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.09e-06/0.2935, allocations: 4 kB / 0.9927 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005716/0.2941, allocations: 368.4 kB / 0.993 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2941, allocations: 7.938 kB / 0.9931 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001073/0.2942, allocations: 36.83 kB / 0.9931 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.2945, allocations: 68.11 kB / 0.9932 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008236/0.2953, allocations: 1.493 MB / 0.9946 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.2955, allocations: 28.08 kB / 0.9946 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.2955, allocations: 11.98 kB / 0.9947 GB, free: 10.97 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.0001324/0.2956, allocations: 240.9 kB / 0.9949 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.2957, allocations: 19.72 kB / 0.9949 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006081/0.2963, allocations: 364.1 kB / 0.9952 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.2963, allocations: 0 / 0.9952 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.2963, allocations: 4 kB / 0.9952 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2964, allocations: 7.922 kB / 0.9953 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.2975, allocations: 0.9695 MB / 0.9962 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2975, allocations: 0 / 0.9962 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.2977, allocations: 59.89 kB / 0.9963 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-05/0.2978, allocations: 32.83 kB / 0.9963 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.2978, allocations: 8 kB / 0.9963 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007187/0.2986, allocations: 1.406 MB / 0.9977 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2986, allocations: 3.938 kB / 0.9977 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005477/0.2991, allocations: 0.5471 MB / 0.9982 GB, free: 7.051 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.492e-05/0.2992, allocations: 128.7 kB / 0.9983 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.2993, allocations: 8 kB / 0.9983 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.2995, allocations: 23.97 kB / 0.9984 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/0.2996, allocations: 27.91 kB / 0.9984 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.2996, allocations: 15.94 kB / 0.9984 GB, free: 6.832 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000101/0.2997, allocations: 151.7 kB / 0.9986 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2997, allocations: 0 / 0.9986 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005413/0.3002, allocations: 108 kB / 0.9987 GB, free: 6.578 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.0001311/0.3004, allocations: 103.2 kB / 0.9988 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.3014, allocations: 0.7471 MB / 0.9995 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3015, allocations: 0 / 0.9995 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000326/0.3018, allocations: 271.1 kB / 0.9997 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.3023, allocations: 40.66 kB / 0.9998 GB, free: 5.383 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007916/0.3031, allocations: 0.6592 MB / 1 GB, free: 4.676 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.3033, allocations: 0.7717 MB / 1.001 GB, free: 3.879 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002226/0.3035, allocations: 85.86 kB / 1.001 GB, free: 3.797 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.751e-05/0.3036, allocations: 23.44 kB / 1.001 GB, free: 3.773 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.3036, allocations: 0 / 1.001 GB, free: 3.773 MB / 0.6198 GB Notification: Performance of Templates: time 0.005489/0.3091, allocations: 2.986 MB / 1.004 GB, free: 0.7891 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)