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.661/1.661, allocations: 287.4 MB / 303.2 MB, free: 8.184 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.001295/0.001295, allocations: 181.5 kB / 371.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 1.751/1.751, allocations: 205.4 MB / 0.6305 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.0008852/0.0008851, allocations: 87.83 kB / 0.7438 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004116/0.0004117, allocations: 11.69 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2665, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.002716/0.2693, allocations: 2.486 MB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.2712, allocations: 1.568 MB / 0.9832 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.2713, allocations: 4 kB / 0.9832 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.2715, allocations: 31.72 kB / 0.9833 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.2719, allocations: 147.4 kB / 0.9834 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.2722, allocations: 161.6 kB / 0.9836 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.2725, allocations: 354.9 kB / 0.9839 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005854/0.2731, allocations: 371.3 kB / 0.9843 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.2733, allocations: 107.6 kB / 0.9844 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.2735, allocations: 131.5 kB / 0.9845 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.2736, allocations: 16 kB / 0.9845 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002258/0.2738, allocations: 131.8 kB / 0.9846 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.252e-05/0.2739, allocations: 79.77 kB / 0.9847 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.602e-05/0.2739, allocations: 65.52 kB / 0.9848 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.2742, allocations: 307.2 kB / 0.9851 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2742, allocations: 0 / 0.9851 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2742, allocations: 0 / 0.9851 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.2743, allocations: 0 / 0.9851 GB, free: 22.23 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.0006786/0.2749, allocations: 0.5028 MB / 0.9856 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.275, allocations: 8.031 kB / 0.9856 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006115/0.2756, allocations: 92.55 kB / 0.9857 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.2759, allocations: 261.1 kB / 0.9859 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.2759, allocations: 12.75 kB / 0.9859 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/0.2759, allocations: 24.27 kB / 0.9859 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/0.2765, allocations: 390.3 kB / 0.9863 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.2765, allocations: 0 / 0.9863 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.2765, allocations: 4 kB / 0.9863 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.946e-05/0.2766, allocations: 32.31 kB / 0.9863 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000507/0.2771, allocations: 332.6 kB / 0.9867 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.2785, allocations: 1.721 MB / 0.9883 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006037/0.2791, allocations: 341 kB / 0.9887 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.2794, allocations: 169.5 kB / 0.9888 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.2795, allocations: 89.09 kB / 0.9889 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.2796, allocations: 38.55 kB / 0.989 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.522e-06/0.2796, allocations: 0 / 0.989 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.001195/0.2808, allocations: 0.605 MB / 0.9895 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.2808, allocations: 81.05 kB / 0.9896 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.281, allocations: 208.4 kB / 0.9898 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.281, allocations: 29.7 kB / 0.9898 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.407e-05/0.2811, allocations: 167.8 kB / 0.99 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.2811, allocations: 71.02 kB / 0.9901 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.44e-05/0.2812, allocations: 4 kB / 0.9901 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.76e-05/0.2812, allocations: 330.8 kB / 0.9904 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.2815, allocations: 128.5 kB / 0.9905 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.2817, allocations: 219.3 kB / 0.9907 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/0.2822, allocations: 380.2 kB / 0.9911 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2822, allocations: 0 / 0.9911 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000639/0.2828, allocations: 440.8 kB / 0.9915 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.092e-05/0.2829, allocations: 166.5 kB / 0.9917 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2829, allocations: 7.938 kB / 0.9917 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002239/0.2831, allocations: 44.75 kB / 0.9917 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.2834, allocations: 71.89 kB / 0.9918 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.2845, allocations: 1.485 MB / 0.9932 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.2847, allocations: 35.81 kB / 0.9933 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.2848, allocations: 15.98 kB / 0.9933 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.28e-06/0.2848, allocations: 4 kB / 0.9933 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005923/0.2854, allocations: 368.4 kB / 0.9936 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.2854, allocations: 4 kB / 0.9936 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001123/0.2855, allocations: 44.75 kB / 0.9937 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.2858, allocations: 72.14 kB / 0.9938 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008312/0.2866, allocations: 1.489 MB / 0.9952 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.2868, allocations: 24.05 kB / 0.9952 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.2868, allocations: 19.98 kB / 0.9953 GB, free: 11.01 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.0001529/0.287, allocations: 236.9 kB / 0.9955 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/0.2871, allocations: 23.72 kB / 0.9955 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006129/0.2877, allocations: 360.9 kB / 0.9958 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.2877, allocations: 3.984 kB / 0.9958 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2877, allocations: 0 / 0.9958 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-05/0.2878, allocations: 124.7 kB / 0.996 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.2878, allocations: 11.94 kB / 0.996 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.2881, allocations: 35.95 kB / 0.996 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.2882, allocations: 11.98 kB / 0.996 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007061/0.2889, allocations: 0.5118 MB / 0.9965 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007063/0.2896, allocations: 0.7044 MB / 0.9972 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002018/0.2898, allocations: 132.2 kB / 0.9973 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001072/0.2899, allocations: 159.7 kB / 0.9975 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of Backend: time 5.81e-07/0.2899, allocations: 0 / 0.9975 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001539/0.2915, allocations: 0.7667 MB / 0.9982 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0008588/0.2923, allocations: 0.9982 MB / 0.9992 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of Templates: time 0.008399/0.3008, allocations: 5.136 MB / 1.004 GB, free: 1.68 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)