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.001297/0.001297, allocations: 107.8 kB / 16.37 MB, free: 6.312 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.001336/0.001336, allocations: 191.2 kB / 17.3 MB, free: 5.871 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.632/1.632, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.929/1.929, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.001374/0.001374, allocations: 71.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2925, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.00724/0.2998, allocations: 2.89 MB / 0.7876 GB, free: 292 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5876/0.8875, allocations: 1.686 MB / 0.7893 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.8877, allocations: 2.625 kB / 0.7893 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007901/0.8886, allocations: 226.1 kB / 0.7895 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004111/0.889, allocations: 183.3 kB / 0.7897 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.8895, allocations: 223.9 kB / 0.7899 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003272/0.8898, allocations: 314.3 kB / 0.7902 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.8902, allocations: 180.7 kB / 0.7903 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.8904, allocations: 122.8 kB / 0.7905 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.8907, allocations: 146.3 kB / 0.7906 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.8907, allocations: 20.53 kB / 0.7906 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.8912, allocations: 260.3 kB / 0.7909 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.531e-05/0.8913, allocations: 93.31 kB / 0.791 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.8914, allocations: 113.2 kB / 0.7911 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004473/0.8918, allocations: 416.5 kB / 0.7915 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.8919, allocations: 3.938 kB / 0.7915 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8919, allocations: 0.5312 kB / 0.7915 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.8919, allocations: 3.406 kB / 0.7915 GB, free: 46.62 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.0008544/0.8927, allocations: 0.5365 MB / 0.792 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.8928, allocations: 8.062 kB / 0.792 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000667/0.8935, allocations: 90.77 kB / 0.7921 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.8938, allocations: 260.9 kB / 0.7923 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.8938, allocations: 18.17 kB / 0.7924 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.978e-05/0.8939, allocations: 16.88 kB / 0.7924 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005924/0.8945, allocations: 387 kB / 0.7927 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.8945, allocations: 3.375 kB / 0.7927 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.8945, allocations: 10.53 kB / 0.7927 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-05/0.8946, allocations: 25.19 kB / 0.7928 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005273/0.8951, allocations: 324.4 kB / 0.7931 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.8965, allocations: 1.733 MB / 0.7948 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006285/0.8972, allocations: 327.7 kB / 0.7951 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.8974, allocations: 150.5 kB / 0.7952 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.8975, allocations: 87.3 kB / 0.7953 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.8976, allocations: 37.38 kB / 0.7953 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.8976, allocations: 3.5 kB / 0.7954 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21): time 0.001236/0.8988, allocations: 0.5944 MB / 0.7959 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.8988, allocations: 77.11 kB / 0.796 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.899, allocations: 206.7 kB / 0.7962 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.8991, allocations: 29.08 kB / 0.7962 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.8991, allocations: 159.3 kB / 0.7964 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.8992, allocations: 76.17 kB / 0.7965 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-05/0.8993, allocations: 57.97 kB / 0.7965 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.8994, allocations: 327.3 kB / 0.7968 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.8996, allocations: 139.5 kB / 0.797 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.8999, allocations: 212.2 kB / 0.7972 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005221/0.9004, allocations: 372.1 kB / 0.7975 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.9004, allocations: 7.75 kB / 0.7975 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007556/0.9012, allocations: 426.8 kB / 0.7979 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.9012, allocations: 6.75 kB / 0.7979 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.9012, allocations: 3.5 kB / 0.7979 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002811/0.9015, allocations: 43.53 kB / 0.798 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/0.9019, allocations: 70.98 kB / 0.798 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.9032, allocations: 1.608 MB / 0.7996 GB, free: 41.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.9035, allocations: 33.12 kB / 0.7996 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.9035, allocations: 12.47 kB / 0.7997 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003569/0.9039, allocations: 233.8 kB / 0.7999 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002747/0.9042, allocations: 213.4 kB / 0.8001 GB, free: 41.63 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005079/0.9047, allocations: 346.7 kB / 0.8004 GB, free: 41.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.835e-06/0.9047, allocations: 2.125 kB / 0.8004 GB, free: 41.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007261/0.9054, allocations: 405.3 kB / 0.8008 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.9054, allocations: 6.578 kB / 0.8008 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.9055, allocations: 6.109 kB / 0.8008 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001416/0.9056, allocations: 38.27 kB / 0.8009 GB, free: 41.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.9059, allocations: 70.03 kB / 0.8009 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.9071, allocations: 1.609 MB / 0.8025 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.9073, allocations: 30.53 kB / 0.8025 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.9073, allocations: 14.28 kB / 0.8025 GB, free: 39.87 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.0001313/0.9074, allocations: 198.2 kB / 0.8027 GB, free: 39.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.56e-05/0.9075, allocations: 17.59 kB / 0.8027 GB, free: 39.67 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000723/0.9083, allocations: 353.5 kB / 0.8031 GB, free: 39.53 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.9083, allocations: 4.797 kB / 0.8031 GB, free: 39.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.9083, allocations: 3.406 kB / 0.8031 GB, free: 39.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.9084, allocations: 124.1 kB / 0.8032 GB, free: 39.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.9084, allocations: 6.703 kB / 0.8032 GB, free: 39.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.9087, allocations: 27.59 kB / 0.8032 GB, free: 39.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/0.9088, allocations: 22.08 kB / 0.8033 GB, free: 39.39 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008015/0.9096, allocations: 0.5009 MB / 0.8037 GB, free: 39.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008467/0.9104, allocations: 0.6874 MB / 0.8044 GB, free: 38.71 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002388/0.9107, allocations: 136.4 kB / 0.8046 GB, free: 38.67 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001303/0.9108, allocations: 155.9 kB / 0.8047 GB, free: 38.57 MB / 0.6544 GB Notification: Performance of Backend: time 4.81e-07/0.9108, allocations: 0 / 0.8047 GB, free: 38.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002243/0.9131, allocations: 0.8308 MB / 0.8055 GB, free: 38.14 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001116/0.9142, allocations: 0.8995 MB / 0.8064 GB, free: 37.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.01377/0.928, allocations: 5.61 MB / 0.8119 GB, free: 37.08 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)