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.001074/0.001074, allocations: 108.2 kB / 15.99 MB, free: 6.336 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.001051/0.00105, allocations: 199 kB / 16.91 MB, free: 6.176 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.384/1.384, allocations: 205.1 MB / 222.8 MB, free: 4.676 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.676/1.676, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.002507/0.002507, allocations: 69.42 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2668, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.0044/0.2712, allocations: 2.941 MB / 0.7864 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002521/0.2738, allocations: 1.676 MB / 0.788 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.2739, allocations: 4 kB / 0.788 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007445/0.2747, allocations: 222.6 kB / 0.7882 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.2751, allocations: 171.3 kB / 0.7884 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005371/0.2757, allocations: 203.6 kB / 0.7886 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.276, allocations: 311 kB / 0.7889 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003709/0.2764, allocations: 209.5 kB / 0.7891 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.2766, allocations: 127.5 kB / 0.7892 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.2769, allocations: 151.5 kB / 0.7894 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.2769, allocations: 20 kB / 0.7894 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003738/0.2773, allocations: 247.5 kB / 0.7896 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.482e-05/0.2774, allocations: 91.72 kB / 0.7897 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.2775, allocations: 115.4 kB / 0.7898 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003765/0.2779, allocations: 331.2 kB / 0.7901 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2779, allocations: 0 / 0.7901 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2779, allocations: 4 kB / 0.7901 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.2779, allocations: 0 / 0.7901 GB, free: 7.105 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.0008937/0.2788, allocations: 0.5379 MB / 0.7906 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.2789, allocations: 12.03 kB / 0.7907 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007037/0.2796, allocations: 84.56 kB / 0.7907 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.2799, allocations: 252.6 kB / 0.791 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.2799, allocations: 20.73 kB / 0.791 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/0.28, allocations: 24.28 kB / 0.791 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006157/0.2806, allocations: 390.2 kB / 0.7914 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.2806, allocations: 0 / 0.7914 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.2807, allocations: 11.98 kB / 0.7914 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-05/0.2807, allocations: 28.31 kB / 0.7914 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005669/0.2813, allocations: 324.6 kB / 0.7917 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.2831, allocations: 1.717 MB / 0.7934 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006941/0.2838, allocations: 329.1 kB / 0.7937 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.2841, allocations: 149.6 kB / 0.7939 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.2842, allocations: 93.08 kB / 0.794 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.2843, allocations: 30.56 kB / 0.794 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.2843, allocations: 7.938 kB / 0.794 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.00138/0.2857, allocations: 0.5943 MB / 0.7946 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.2857, allocations: 85.05 kB / 0.7947 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.286, allocations: 203.7 kB / 0.7949 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.286, allocations: 37.83 kB / 0.7949 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.2861, allocations: 159.8 kB / 0.795 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.976e-05/0.2862, allocations: 71 kB / 0.7951 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.653e-05/0.2863, allocations: 57.89 kB / 0.7952 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.2864, allocations: 330.8 kB / 0.7955 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.2867, allocations: 133.9 kB / 0.7956 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/0.287, allocations: 215.3 kB / 0.7958 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005629/0.2875, allocations: 369.5 kB / 0.7962 GB, free: 464 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2875, allocations: 0 / 0.7962 GB, free: 464 kB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007578/0.2883, allocations: 433.9 kB / 0.7966 GB, free: 20 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2883, allocations: 4 kB / 0.7966 GB, free: 16 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2883, allocations: 4 kB / 0.7966 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002409/0.2886, allocations: 36.91 kB / 0.7966 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.2889, allocations: 75.88 kB / 0.7967 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.2904, allocations: 1.607 MB / 0.7983 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.2906, allocations: 39.97 kB / 0.7983 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.2907, allocations: 12 kB / 0.7983 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003394/0.291, allocations: 243.2 kB / 0.7986 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002778/0.2913, allocations: 203.6 kB / 0.7987 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005222/0.2918, allocations: 353.6 kB / 0.7991 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/0.2919, allocations: 4 kB / 0.7991 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007216/0.2926, allocations: 405.7 kB / 0.7995 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.2926, allocations: 8.375 kB / 0.7995 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.2926, allocations: 11.98 kB / 0.7995 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.2928, allocations: 36.83 kB / 0.7995 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.293, allocations: 63.89 kB / 0.7996 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.2944, allocations: 1.611 MB / 0.8012 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.2946, allocations: 27.88 kB / 0.8012 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.2947, allocations: 12 kB / 0.8012 GB, free: 10.89 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.000156/0.2948, allocations: 204.2 kB / 0.8014 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.2949, allocations: 19.75 kB / 0.8014 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007062/0.2956, allocations: 356 kB / 0.8018 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.2956, allocations: 4 kB / 0.8018 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.2956, allocations: 3.938 kB / 0.8018 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.2956, allocations: 7.938 kB / 0.8018 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.2971, allocations: 0.9508 MB / 0.8027 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.2971, allocations: 4 kB / 0.8027 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.2974, allocations: 59.89 kB / 0.8028 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001305/0.2975, allocations: 36.83 kB / 0.8028 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.2975, allocations: 4 kB / 0.8028 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.2987, allocations: 1.52 MB / 0.8043 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.2987, allocations: 8.094 kB / 0.8043 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007197/0.2995, allocations: 0.5314 MB / 0.8048 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.2996, allocations: 124.8 kB / 0.8049 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.2996, allocations: 11.94 kB / 0.8049 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.2999, allocations: 19.97 kB / 0.805 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.042e-05/0.3, allocations: 31.91 kB / 0.805 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.3, allocations: 4 kB / 0.805 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001514/0.3001, allocations: 155.5 kB / 0.8051 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3001, allocations: 0 / 0.8051 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006382/0.3008, allocations: 108 kB / 0.8052 GB, free: 6.465 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.0001543/0.3009, allocations: 111.2 kB / 0.8053 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001361/0.3023, allocations: 0.7617 MB / 0.8061 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3023, allocations: 256 / 0.8061 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003897/0.3027, allocations: 266.5 kB / 0.8063 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.3032, allocations: 31.98 kB / 0.8064 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.3042, allocations: 0.6824 MB / 0.807 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.3046, allocations: 0.7755 MB / 0.8078 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.554e-05/0.3047, allocations: 19.44 kB / 0.8078 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.3047, allocations: 0 / 0.8078 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of Templates: time 0.006195/0.3109, allocations: 4.189 MB / 0.8119 GB, free: 15.51 MB / 0.6387 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)