Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.422/1.422, allocations: 252 MB / 267 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001168/0.001167, allocations: 173.9 kB / 326.6 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.936/1.936, allocations: 205.4 MB / 0.5776 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006994/0.0006995, allocations: 100.1 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000452/0.000452, allocations: 9.375 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2699, allocations: 106.3 MB / 0.9003 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.002886/0.2728, allocations: 2.497 MB / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002089/0.2749, allocations: 1.564 MB / 0.9043 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.2751, allocations: 7.938 kB / 0.9043 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.2752, allocations: 31.77 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003773/0.2756, allocations: 139.4 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.2761, allocations: 167.6 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.2763, allocations: 358.9 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006467/0.277, allocations: 355 kB / 0.9053 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.2772, allocations: 103.6 kB / 0.9054 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.2774, allocations: 139.5 kB / 0.9055 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.2775, allocations: 12 kB / 0.9055 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002633/0.2778, allocations: 135.8 kB / 0.9057 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.924e-05/0.2778, allocations: 67.8 kB / 0.9057 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.9e-05/0.2779, allocations: 65.58 kB / 0.9058 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000311/0.2782, allocations: 311.5 kB / 0.9061 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2782, allocations: 4 kB / 0.9061 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2782, allocations: 3.984 kB / 0.9061 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.2782, allocations: 0 / 0.9061 GB, free: 57.88 MB / 0.6042 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.0007541/0.279, allocations: 0.5031 MB / 0.9066 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.2791, allocations: 12.03 kB / 0.9066 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.81e-05/0.2791, allocations: 54.55 kB / 0.9066 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000754/0.2799, allocations: 103.5 kB / 0.9067 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.2802, allocations: 250.6 kB / 0.907 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.2802, allocations: 12.38 kB / 0.907 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.876e-05/0.2803, allocations: 19.98 kB / 0.907 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006501/0.2809, allocations: 378.2 kB / 0.9074 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.281, allocations: 7.922 kB / 0.9074 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/0.281, allocations: 11.98 kB / 0.9074 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.707e-05/0.2811, allocations: 32.2 kB / 0.9074 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006322/0.2817, allocations: 332.6 kB / 0.9077 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.2831, allocations: 1.725 MB / 0.9094 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/0.2837, allocations: 337 kB / 0.9097 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.2839, allocations: 149.6 kB / 0.9099 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.2841, allocations: 89.09 kB / 0.91 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.2841, allocations: 38.56 kB / 0.91 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 2.224e-06/0.2841, allocations: 0 / 0.91 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21): time 0.001258/0.2853, allocations: 0.6063 MB / 0.9106 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.2854, allocations: 89 kB / 0.9107 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.2856, allocations: 204.4 kB / 0.9109 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.2856, allocations: 29.7 kB / 0.9109 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.2857, allocations: 163.8 kB / 0.9111 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.2857, allocations: 74.94 kB / 0.9111 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.2857, allocations: 8 kB / 0.9111 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.065e-05/0.2858, allocations: 330.8 kB / 0.9115 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.286, allocations: 132.5 kB / 0.9116 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.2862, allocations: 215.5 kB / 0.9118 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.2865, allocations: 162.4 kB / 0.9119 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2865, allocations: 0 / 0.9119 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006541/0.2872, allocations: 436 kB / 0.9124 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.698e-05/0.2872, allocations: 173.9 kB / 0.9125 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2873, allocations: 4 kB / 0.9125 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002161/0.2875, allocations: 40.81 kB / 0.9126 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.2878, allocations: 79.88 kB / 0.9126 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/0.2888, allocations: 1.489 MB / 0.9141 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.289, allocations: 35.88 kB / 0.9141 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.2891, allocations: 19.98 kB / 0.9142 GB, free: 49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.772e-06/0.2891, allocations: 4 kB / 0.9142 GB, free: 48.99 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005916/0.2897, allocations: 372.4 kB / 0.9145 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2897, allocations: 4 kB / 0.9145 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001123/0.2898, allocations: 40.83 kB / 0.9146 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.2901, allocations: 67.89 kB / 0.9146 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000801/0.2909, allocations: 1.485 MB / 0.9161 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.2911, allocations: 31.81 kB / 0.9161 GB, free: 46.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.2911, allocations: 15.94 kB / 0.9161 GB, free: 46.84 MB / 0.6042 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.0001534/0.2913, allocations: 229.8 kB / 0.9163 GB, free: 46.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/0.2913, allocations: 23.77 kB / 0.9164 GB, free: 46.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005883/0.2919, allocations: 378.6 kB / 0.9167 GB, free: 46.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2919, allocations: 4 kB / 0.9167 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2919, allocations: 0 / 0.9167 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.292, allocations: 0 / 0.9167 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.2931, allocations: 0.9691 MB / 0.9177 GB, free: 45.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2932, allocations: 8.219 kB / 0.9177 GB, free: 45.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.2934, allocations: 55.89 kB / 0.9177 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001068/0.2935, allocations: 36.83 kB / 0.9178 GB, free: 45.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.2935, allocations: 8 kB / 0.9178 GB, free: 45.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007383/0.2943, allocations: 1.398 MB / 0.9191 GB, free: 43.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.2943, allocations: 7.969 kB / 0.9191 GB, free: 43.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006173/0.2949, allocations: 0.553 MB / 0.9197 GB, free: 42.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/0.295, allocations: 120.9 kB / 0.9198 GB, free: 42.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.295, allocations: 11.98 kB / 0.9198 GB, free: 42.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.2953, allocations: 19.98 kB / 0.9198 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.2953, allocations: 15.97 kB / 0.9198 GB, free: 42.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.2954, allocations: 16 kB / 0.9199 GB, free: 42.72 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.851e-05/0.2955, allocations: 158.8 kB / 0.92 GB, free: 42.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2955, allocations: 0 / 0.92 GB, free: 42.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005379/0.296, allocations: 104 kB / 0.9201 GB, free: 42.46 MB / 0.6042 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.0008334/0.2969, allocations: 1.099 MB / 0.9212 GB, free: 41.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001118/0.298, allocations: 0.7356 MB / 0.9219 GB, free: 40.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.298, allocations: 0.9375 kB / 0.9219 GB, free: 40.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003448/0.2984, allocations: 281 kB / 0.9222 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.2988, allocations: 39.31 kB / 0.9222 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.3011, allocations: 1.65 MB / 0.9238 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.3013, allocations: 0.7717 MB / 0.9246 GB, free: 37.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000236/0.3016, allocations: 89.86 kB / 0.9247 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.3017, allocations: 67.41 kB / 0.9247 GB, free: 37.52 MB / 0.6042 GB Notification: Performance of SimCode: time 6.61e-07/0.3017, allocations: 4 kB / 0.9247 GB, free: 37.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.3182, allocations: 5.18 MB / 0.9298 GB, free: 32.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/0.3184, allocations: 231.8 kB / 0.93 GB, free: 32.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.134, allocations: 0 / 0.93 GB, free: 32.29 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)