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.001003/0.001003, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.001211/0.001211, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.708/1.708, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005623/0.0005624, allocations: 14.94 kB / 0.6735 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2711, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003325/0.2745, allocations: 2.447 MB / 0.7895 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002343/0.2769, allocations: 1.537 MB / 0.791 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.277, allocations: 8 kB / 0.791 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.2771, allocations: 39.75 kB / 0.791 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003538/0.2775, allocations: 111.6 kB / 0.7912 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.278, allocations: 171.6 kB / 0.7913 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.2782, allocations: 171.6 kB / 0.7915 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007275/0.279, allocations: 355 kB / 0.7918 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.2792, allocations: 87.69 kB / 0.7919 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.2794, allocations: 107.6 kB / 0.792 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.2794, allocations: 8 kB / 0.792 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002557/0.2797, allocations: 135.8 kB / 0.7921 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.538e-05/0.2798, allocations: 75.73 kB / 0.7922 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.2799, allocations: 61.58 kB / 0.7923 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.2802, allocations: 307.5 kB / 0.7926 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.2802, allocations: 0 / 0.7926 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2803, allocations: 0 / 0.7926 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.2803, allocations: 0 / 0.7926 GB, free: 6.34 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.0009636/0.2812, allocations: 0.5066 MB / 0.7931 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.2813, allocations: 12.03 kB / 0.7931 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007585/0.2821, allocations: 103.5 kB / 0.7932 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.2824, allocations: 250.6 kB / 0.7934 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.2824, allocations: 12.38 kB / 0.7934 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-05/0.2825, allocations: 27.89 kB / 0.7934 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006379/0.2831, allocations: 378 kB / 0.7938 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.2832, allocations: 0 / 0.7938 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.2832, allocations: 11.98 kB / 0.7938 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.281e-05/0.2833, allocations: 24.31 kB / 0.7938 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005983/0.2839, allocations: 336.6 kB / 0.7942 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.2861, allocations: 1.732 MB / 0.7959 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007205/0.2868, allocations: 337 kB / 0.7962 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.287, allocations: 89.09 kB / 0.7963 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.287, allocations: 38.56 kB / 0.7963 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.522e-06/0.287, allocations: 0 / 0.7963 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.001414/0.2885, allocations: 0.6065 MB / 0.7969 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.2885, allocations: 81.11 kB / 0.797 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.2887, allocations: 207.7 kB / 0.7972 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.324e-05/0.2888, allocations: 29.7 kB / 0.7972 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.69e-05/0.2889, allocations: 159.9 kB / 0.7973 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.341e-05/0.289, allocations: 70.94 kB / 0.7974 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.289, allocations: 7.938 kB / 0.7974 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2892, allocations: 338.8 kB / 0.7977 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.2894, allocations: 132.5 kB / 0.7979 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.2897, allocations: 215.5 kB / 0.7981 GB, free: 288 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.29, allocations: 163.2 kB / 0.7982 GB, free: 128 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.29, allocations: 4 kB / 0.7982 GB, free: 124 kB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000764/0.2908, allocations: 428.1 kB / 0.7986 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005309/0.2913, allocations: 1.059 MB / 0.7997 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.2913, allocations: 4 kB / 0.7997 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002351/0.2916, allocations: 40.78 kB / 0.7997 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.2919, allocations: 75.88 kB / 0.7998 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.2934, allocations: 1.505 MB / 0.8013 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.2936, allocations: 35.94 kB / 0.8013 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.2936, allocations: 23.92 kB / 0.8013 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/0.2936, allocations: 8.062 kB / 0.8013 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006737/0.2943, allocations: 371.9 kB / 0.8017 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2943, allocations: 4 kB / 0.8017 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001269/0.2945, allocations: 40.83 kB / 0.8017 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.2947, allocations: 63.89 kB / 0.8018 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.296, allocations: 1.501 MB / 0.8033 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.2962, allocations: 31.83 kB / 0.8033 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.2963, allocations: 12 kB / 0.8033 GB, free: 10.56 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 (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.0002101/0.2965, allocations: 241 kB / 0.8035 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.178e-05/0.2965, allocations: 19.72 kB / 0.8035 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006694/0.2972, allocations: 360.1 kB / 0.8039 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2972, allocations: 7.953 kB / 0.8039 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.2972, allocations: 0 / 0.8039 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2973, allocations: 4 kB / 0.8039 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.2987, allocations: 0.9668 MB / 0.8048 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2987, allocations: 0 / 0.8048 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.2989, allocations: 60.11 kB / 0.8049 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001176/0.2991, allocations: 40.81 kB / 0.8049 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.2991, allocations: 4 kB / 0.8049 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.3002, allocations: 1.425 MB / 0.8063 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.3002, allocations: 7.969 kB / 0.8063 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007822/0.301, allocations: 0.6213 MB / 0.8069 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.3011, allocations: 128.7 kB / 0.8071 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.3011, allocations: 11.98 kB / 0.8071 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.3014, allocations: 27.97 kB / 0.8071 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/0.3015, allocations: 11.98 kB / 0.8071 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.3015, allocations: 12 kB / 0.8071 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001448/0.3016, allocations: 159.5 kB / 0.8073 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.21e-07/0.3016, allocations: 0 / 0.8073 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005956/0.3022, allocations: 104 kB / 0.8074 GB, free: 6.043 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 (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 Backend phase and start with SimCode phase: time 0.0001819/0.3024, allocations: 111.2 kB / 0.8075 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.3036, allocations: 0.7317 MB / 0.8082 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3037, allocations: 4 kB / 0.8082 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003809/0.304, allocations: 275.9 kB / 0.8085 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.3044, allocations: 35.92 kB / 0.8085 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009491/0.3053, allocations: 0.6653 MB / 0.8092 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.3057, allocations: 0.7832 MB / 0.8099 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002268/0.3059, allocations: 86.14 kB / 0.81 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.306, allocations: 27.42 kB / 0.81 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.306, allocations: 0 / 0.81 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of Templates: time 0.005947/0.312, allocations: 2.978 MB / 0.8129 GB, free: 248 kB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: