Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001369, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001828/0.001829, allocations: 192.6 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.747/1.747, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 62.11 kB / 0.671 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3142, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.005067/0.3193, allocations: 2.944 MB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002952/0.3223, allocations: 1.672 MB / 0.7874 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.3225, allocations: 7.938 kB / 0.7874 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009156/0.3234, allocations: 211.3 kB / 0.7876 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004193/0.3238, allocations: 175.3 kB / 0.7877 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.3243, allocations: 207.5 kB / 0.7879 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003371/0.3247, allocations: 307 kB / 0.7882 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000407/0.3251, allocations: 213.4 kB / 0.7884 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.3253, allocations: 127.5 kB / 0.7886 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.3256, allocations: 151.5 kB / 0.7887 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.3256, allocations: 20 kB / 0.7887 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003827/0.326, allocations: 251.5 kB / 0.789 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.3261, allocations: 91.72 kB / 0.789 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.3262, allocations: 107.5 kB / 0.7891 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004892/0.3267, allocations: 438.6 kB / 0.7896 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3268, allocations: 0 / 0.7896 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3268, allocations: 0 / 0.7896 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.3268, allocations: 0 / 0.7896 GB, free: 7.004 MB / 0.6075 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.001089/0.3279, allocations: 0.5457 MB / 0.7901 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.3279, allocations: 12.03 kB / 0.7901 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007404/0.3287, allocations: 84.56 kB / 0.7902 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.3291, allocations: 259.9 kB / 0.7904 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.3291, allocations: 12.75 kB / 0.7905 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-05/0.3292, allocations: 24.28 kB / 0.7905 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006736/0.3298, allocations: 386.3 kB / 0.7908 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.3299, allocations: 7.875 kB / 0.7909 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.3299, allocations: 8 kB / 0.7909 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.992e-05/0.33, allocations: 24.31 kB / 0.7909 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005679/0.3305, allocations: 328.6 kB / 0.7912 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.3324, allocations: 1.717 MB / 0.7929 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006884/0.3331, allocations: 329 kB / 0.7932 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.3334, allocations: 153.6 kB / 0.7933 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.3335, allocations: 93.08 kB / 0.7934 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.3336, allocations: 30.56 kB / 0.7934 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.3336, allocations: 4 kB / 0.7935 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.001332/0.3349, allocations: 0.5981 MB / 0.794 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.335, allocations: 81.11 kB / 0.7941 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.3352, allocations: 207.7 kB / 0.7943 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.3352, allocations: 25.7 kB / 0.7943 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.3353, allocations: 163.8 kB / 0.7945 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.874e-05/0.3354, allocations: 70.98 kB / 0.7946 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.951e-05/0.3355, allocations: 65.89 kB / 0.7946 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3357, allocations: 330.8 kB / 0.7949 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.3359, allocations: 129.9 kB / 0.7951 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.3362, allocations: 215.3 kB / 0.7953 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005367/0.3368, allocations: 365.5 kB / 0.7956 GB, free: 360 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3368, allocations: 4 kB / 0.7956 GB, free: 356 kB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007625/0.3375, allocations: 425.9 kB / 0.796 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.3376, allocations: 8 kB / 0.796 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.3376, allocations: 352 / 0.796 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000254/0.3378, allocations: 44.83 kB / 0.7961 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.3381, allocations: 71.88 kB / 0.7961 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.3397, allocations: 1.615 MB / 0.7977 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.34, allocations: 27.91 kB / 0.7977 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.34, allocations: 12 kB / 0.7978 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003309/0.3403, allocations: 240 kB / 0.798 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003533/0.3407, allocations: 203.6 kB / 0.7982 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000528/0.3412, allocations: 350.8 kB / 0.7985 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.3413, allocations: 0 / 0.7985 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007311/0.342, allocations: 412.3 kB / 0.7989 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.342, allocations: 8 kB / 0.7989 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.342, allocations: 4.188 kB / 0.7989 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001594/0.3422, allocations: 45.17 kB / 0.799 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.3425, allocations: 71.89 kB / 0.799 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.3439, allocations: 1.599 MB / 0.8006 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.3441, allocations: 27.88 kB / 0.8006 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.3441, allocations: 16 kB / 0.8006 GB, free: 10.8 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.3443, allocations: 200.1 kB / 0.8008 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.362e-05/0.3443, allocations: 27.75 kB / 0.8009 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006858/0.345, allocations: 356.2 kB / 0.8012 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3451, allocations: 3.984 kB / 0.8012 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3451, allocations: 4 kB / 0.8012 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3451, allocations: 0 / 0.8012 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.3465, allocations: 0.9598 MB / 0.8021 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3465, allocations: 4.219 kB / 0.8021 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.3467, allocations: 55.89 kB / 0.8022 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/0.3469, allocations: 36.77 kB / 0.8022 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.3469, allocations: 8 kB / 0.8022 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.3481, allocations: 1.52 MB / 0.8037 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3481, allocations: 0 / 0.8037 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006984/0.3488, allocations: 0.5353 MB / 0.8042 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.3489, allocations: 120.8 kB / 0.8044 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.349, allocations: 11.94 kB / 0.8044 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.3492, allocations: 19.97 kB / 0.8044 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.3493, allocations: 23.97 kB / 0.8044 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.3493, allocations: 7.938 kB / 0.8044 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001415/0.3495, allocations: 159.5 kB / 0.8046 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.904e-06/0.3495, allocations: 4 kB / 0.8046 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005986/0.3501, allocations: 111.9 kB / 0.8047 GB, free: 6.359 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001722/0.3502, allocations: 111.2 kB / 0.8048 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.3516, allocations: 0.7471 MB / 0.8055 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3516, allocations: 0 / 0.8055 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003855/0.352, allocations: 271.9 kB / 0.8058 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/0.3525, allocations: 34.22 kB / 0.8058 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.3535, allocations: 0.6491 MB / 0.8064 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.3539, allocations: 0.7755 MB / 0.8072 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002308/0.3541, allocations: 93.94 kB / 0.8073 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/0.3542, allocations: 19.44 kB / 0.8073 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.3542, allocations: 0 / 0.8073 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of Templates: time 0.006239/0.3605, allocations: 3.253 MB / 0.8105 GB, free: 312 kB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)