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.815/1.815, allocations: 288.3 MB / 303.2 MB, free: 8.145 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.001219/0.001219, allocations: 186 kB / 371.9 MB, free: 10.26 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.815/1.815, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.000984/0.0009839, allocations: 94.86 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006236/0.0006236, allocations: 14.78 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2527, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003014/0.2558, allocations: 2.447 MB / 0.9818 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002429/0.2583, allocations: 1.533 MB / 0.9833 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.2585, allocations: 7.938 kB / 0.9833 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.2587, allocations: 31.7 kB / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005244/0.2593, allocations: 123.6 kB / 0.9835 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005637/0.2598, allocations: 171.5 kB / 0.9836 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003284/0.2602, allocations: 171.6 kB / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007065/0.2609, allocations: 364.7 kB / 0.9841 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.2611, allocations: 87.73 kB / 0.9842 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.2614, allocations: 99.59 kB / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.2614, allocations: 8 kB / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003155/0.2618, allocations: 139.8 kB / 0.9845 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.465e-05/0.2618, allocations: 63.81 kB / 0.9845 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.215e-05/0.2619, allocations: 69.56 kB / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.2623, allocations: 307.5 kB / 0.9849 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2623, allocations: 4 kB / 0.9849 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2623, allocations: 0 / 0.9849 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.2624, allocations: 0 / 0.9849 GB, free: 22.06 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.000821/0.2632, allocations: 0.4911 MB / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.2632, allocations: 12.02 kB / 0.9854 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007558/0.264, allocations: 103.6 kB / 0.9855 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.2644, allocations: 256.2 kB / 0.9857 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.2644, allocations: 20.31 kB / 0.9857 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.2644, allocations: 19.91 kB / 0.9858 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005899/0.265, allocations: 378 kB / 0.9861 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.2651, allocations: 0 / 0.9861 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/0.2651, allocations: 11.98 kB / 0.9861 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.676e-05/0.2652, allocations: 28.3 kB / 0.9862 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005572/0.2657, allocations: 332.7 kB / 0.9865 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.2673, allocations: 1.72 MB / 0.9882 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006493/0.2679, allocations: 345 kB / 0.9885 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.2681, allocations: 81.11 kB / 0.9886 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.2681, allocations: 42.5 kB / 0.9886 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.323e-06/0.2681, allocations: 0 / 0.9886 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.001283/0.2694, allocations: 0.606 MB / 0.9892 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.2694, allocations: 81.11 kB / 0.9893 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.2696, allocations: 204.4 kB / 0.9895 GB, free: 17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.2696, allocations: 29.7 kB / 0.9895 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.2697, allocations: 163.8 kB / 0.9896 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.2697, allocations: 78.94 kB / 0.9897 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/0.2698, allocations: 4 kB / 0.9897 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.878e-05/0.2698, allocations: 338.8 kB / 0.9901 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.27, allocations: 136.4 kB / 0.9902 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.2703, allocations: 223.4 kB / 0.9904 GB, free: 16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.2705, allocations: 158.6 kB / 0.9905 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2705, allocations: 3.938 kB / 0.9905 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006486/0.2712, allocations: 434.8 kB / 0.991 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002042/0.2714, allocations: 1.047 MB / 0.992 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2714, allocations: 0 / 0.992 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002282/0.2717, allocations: 52.78 kB / 0.992 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.272, allocations: 71.88 kB / 0.9921 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.273, allocations: 1.509 MB / 0.9936 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.2733, allocations: 31.91 kB / 0.9936 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.2733, allocations: 12 kB / 0.9936 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.2733, allocations: 5.25 kB / 0.9936 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005763/0.2739, allocations: 376.3 kB / 0.994 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.2739, allocations: 352 / 0.994 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001114/0.274, allocations: 41.16 kB / 0.994 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.2743, allocations: 75.88 kB / 0.9941 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008531/0.2751, allocations: 1.504 MB / 0.9956 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.2753, allocations: 27.83 kB / 0.9956 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.2753, allocations: 15.98 kB / 0.9956 GB, free: 10.29 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.0001664/0.2755, allocations: 229.7 kB / 0.9958 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/0.2756, allocations: 23.72 kB / 0.9958 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005962/0.2762, allocations: 357.1 kB / 0.9962 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.2762, allocations: 11.95 kB / 0.9962 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.2762, allocations: 3.938 kB / 0.9962 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2762, allocations: 3.984 kB / 0.9962 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.2774, allocations: 0.9599 MB / 0.9971 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.2774, allocations: 7.984 kB / 0.9972 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.2777, allocations: 51.97 kB / 0.9972 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001095/0.2778, allocations: 49.03 kB / 0.9972 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.2778, allocations: 8 kB / 0.9973 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007559/0.2786, allocations: 1.414 MB / 0.9986 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2786, allocations: 0 / 0.9986 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005867/0.2792, allocations: 0.627 MB / 0.9992 GB, free: 6.246 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.2793, allocations: 132.7 kB / 0.9994 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.2793, allocations: 7.938 kB / 0.9994 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.2795, allocations: 27.97 kB / 0.9994 GB, free: 6.062 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/0.2796, allocations: 23.92 kB / 0.9994 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.2796, allocations: 11.94 kB / 0.9994 GB, free: 6.027 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001105/0.2797, allocations: 159.5 kB / 0.9996 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2798, allocations: 0 / 0.9996 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005665/0.2803, allocations: 112 kB / 0.9997 GB, free: 5.762 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.0001408/0.2805, allocations: 107.2 kB / 0.9998 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.2815, allocations: 0.7351 MB / 1.001 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2816, allocations: 0 / 1.001 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003169/0.2819, allocations: 279.2 kB / 1.001 GB, free: 4.605 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.2822, allocations: 27.94 kB / 1.001 GB, free: 4.578 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007935/0.283, allocations: 0.6658 MB / 1.001 GB, free: 3.863 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.2832, allocations: 0.7795 MB / 1.002 GB, free: 3.059 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002165/0.2834, allocations: 86.09 kB / 1.002 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.631e-05/0.2835, allocations: 23.38 kB / 1.002 GB, free: 2.953 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2835, allocations: 0 / 1.002 GB, free: 2.953 MB / 0.6198 GB Notification: Performance of Templates: time 0.005448/0.289, allocations: 2.985 MB / 1.005 GB, free: 15.97 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)