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.001163/0.001163, allocations: 102.4 kB / 16.35 MB, free: 6.348 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.001117/0.001117, allocations: 194.7 kB / 17.29 MB, free: 5.93 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.378/1.378, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.833/1.833, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.00148/0.001481, allocations: 71.89 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2564, allocations: 114.5 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.005309/0.2618, allocations: 2.898 MB / 0.7876 GB, free: 288 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4028/0.6646, allocations: 1.675 MB / 0.7892 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.6648, allocations: 5.531 kB / 0.7892 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006997/0.6655, allocations: 227.3 kB / 0.7895 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003796/0.6659, allocations: 184.6 kB / 0.7896 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.6663, allocations: 225.9 kB / 0.7898 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.6666, allocations: 309.9 kB / 0.7901 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000301/0.6669, allocations: 183.9 kB / 0.7903 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.6671, allocations: 126.8 kB / 0.7904 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.6673, allocations: 145.9 kB / 0.7906 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.769e-05/0.6674, allocations: 20.81 kB / 0.7906 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003408/0.6677, allocations: 255.6 kB / 0.7908 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.749e-05/0.6678, allocations: 96.98 kB / 0.7909 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.511e-05/0.6679, allocations: 109.1 kB / 0.791 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003917/0.6683, allocations: 419.8 kB / 0.7914 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6683, allocations: 0.5938 kB / 0.7914 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6684, allocations: 0.875 kB / 0.7914 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.6684, allocations: 0 / 0.7914 GB, free: 46.63 MB / 0.6544 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.0007492/0.6691, allocations: 0.5367 MB / 0.792 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.6692, allocations: 7.875 kB / 0.792 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006888/0.6699, allocations: 98.34 kB / 0.7921 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.6701, allocations: 259.7 kB / 0.7923 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.6702, allocations: 14.16 kB / 0.7923 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.6702, allocations: 21.58 kB / 0.7923 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005393/0.6708, allocations: 383.9 kB / 0.7927 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.6708, allocations: 0 / 0.7927 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.6708, allocations: 10.77 kB / 0.7927 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.165e-05/0.6709, allocations: 24.3 kB / 0.7927 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005149/0.6714, allocations: 326.8 kB / 0.7931 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.6728, allocations: 1.728 MB / 0.7947 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006201/0.6735, allocations: 330.9 kB / 0.7951 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.6737, allocations: 151.8 kB / 0.7952 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.6739, allocations: 94.64 kB / 0.7953 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.6739, allocations: 34.03 kB / 0.7953 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.6739, allocations: 2.531 kB / 0.7953 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21): time 0.001181/0.6751, allocations: 0.5915 MB / 0.7959 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.6751, allocations: 84.52 kB / 0.796 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.6753, allocations: 204.3 kB / 0.7962 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.6753, allocations: 32.64 kB / 0.7962 GB, free: 44 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/0.6754, allocations: 159.6 kB / 0.7964 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.6754, allocations: 75.39 kB / 0.7964 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-05/0.6755, allocations: 56.91 kB / 0.7965 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.653e-05/0.6756, allocations: 328.8 kB / 0.7968 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.6758, allocations: 136.8 kB / 0.7969 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.676, allocations: 215.2 kB / 0.7971 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/0.6765, allocations: 378.8 kB / 0.7975 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6765, allocations: 0 / 0.7975 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006765/0.6772, allocations: 420.9 kB / 0.7979 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.6772, allocations: 7.156 kB / 0.7979 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.6772, allocations: 2.688 kB / 0.7979 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002422/0.6775, allocations: 41.7 kB / 0.798 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.6778, allocations: 74.5 kB / 0.798 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.679, allocations: 1.597 MB / 0.7996 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.6793, allocations: 36.84 kB / 0.7996 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.6793, allocations: 18.88 kB / 0.7996 GB, free: 41.83 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003557/0.6797, allocations: 230.9 kB / 0.7999 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003107/0.68, allocations: 208.1 kB / 0.8001 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005097/0.6805, allocations: 352.8 kB / 0.8004 GB, free: 41.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.6805, allocations: 0 / 0.8004 GB, free: 41.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007733/0.6813, allocations: 409.8 kB / 0.8008 GB, free: 41.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.6813, allocations: 6.188 kB / 0.8008 GB, free: 41.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/0.6813, allocations: 2.438 kB / 0.8008 GB, free: 41.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001886/0.6815, allocations: 49.39 kB / 0.8008 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.6818, allocations: 68.09 kB / 0.8009 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.683, allocations: 1.611 MB / 0.8025 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.6832, allocations: 31.23 kB / 0.8025 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.6833, allocations: 16.23 kB / 0.8025 GB, free: 39.86 MB / 0.6544 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.0001312/0.6834, allocations: 192.6 kB / 0.8027 GB, free: 39.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.246e-05/0.6835, allocations: 26.81 kB / 0.8027 GB, free: 39.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000667/0.6842, allocations: 349 kB / 0.8031 GB, free: 39.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.6842, allocations: 5.625 kB / 0.8031 GB, free: 39.52 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6842, allocations: 2.109 kB / 0.8031 GB, free: 39.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.6842, allocations: 3.703 kB / 0.8031 GB, free: 39.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.6855, allocations: 0.9601 MB / 0.804 GB, free: 38.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.6856, allocations: 6.438 kB / 0.804 GB, free: 38.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.6858, allocations: 57.56 kB / 0.8041 GB, free: 38.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/0.6859, allocations: 41.03 kB / 0.8041 GB, free: 38.88 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.686, allocations: 3.844 kB / 0.8041 GB, free: 38.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008541/0.6868, allocations: 1.519 MB / 0.8056 GB, free: 37.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.6869, allocations: 3.344 kB / 0.8056 GB, free: 37.43 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007112/0.6876, allocations: 0.5286 MB / 0.8061 GB, free: 37.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.6877, allocations: 125.3 kB / 0.8062 GB, free: 36.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.6878, allocations: 18.16 kB / 0.8063 GB, free: 36.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/0.688, allocations: 21.97 kB / 0.8063 GB, free: 36.94 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-05/0.6881, allocations: 19.44 kB / 0.8063 GB, free: 36.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.6881, allocations: 7.547 kB / 0.8063 GB, free: 36.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001622/0.6883, allocations: 156.5 kB / 0.8065 GB, free: 36.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6883, allocations: 0 / 0.8065 GB, free: 36.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007606/0.6891, allocations: 109.3 kB / 0.8066 GB, free: 36.82 MB / 0.6544 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.0002006/0.6893, allocations: 113.3 kB / 0.8067 GB, free: 36.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001698/0.691, allocations: 0.7365 MB / 0.8074 GB, free: 36.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.691, allocations: 0 / 0.8074 GB, free: 36.36 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000463/0.6915, allocations: 271.2 kB / 0.8076 GB, free: 36.21 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.692, allocations: 36.41 kB / 0.8077 GB, free: 36.19 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.6931, allocations: 0.5529 MB / 0.8082 GB, free: 35.86 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.6934, allocations: 0.771 MB / 0.809 GB, free: 35.14 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002922/0.6937, allocations: 86.91 kB / 0.8091 GB, free: 35.14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.629e-05/0.6938, allocations: 28.77 kB / 0.8091 GB, free: 35.12 MB / 0.6544 GB Notification: Performance of SimCode: time 4.5e-07/0.6938, allocations: 0.9688 kB / 0.8091 GB, free: 35.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.009627/0.7035, allocations: 3.274 MB / 0.8123 GB, free: 34.98 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)