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.553/1.553, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001117/0.001117, allocations: 183.2 kB / 326.5 MB, free: 2.27 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.992/1.992, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0009718/0.0009719, allocations: 95.69 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004565/0.0004567, allocations: 8.062 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2437, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003191/0.2469, allocations: 2.451 MB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00226/0.2492, allocations: 1.536 MB / 0.904 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.2494, allocations: 7.938 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.2496, allocations: 35.77 kB / 0.9041 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004774/0.2501, allocations: 119.7 kB / 0.9042 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000561/0.2507, allocations: 167.5 kB / 0.9044 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003198/0.251, allocations: 175.6 kB / 0.9045 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006713/0.2517, allocations: 366.9 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.2519, allocations: 83.69 kB / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.2521, allocations: 103.6 kB / 0.9051 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.2522, allocations: 8 kB / 0.9051 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003356/0.2525, allocations: 135.8 kB / 0.9052 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.248e-05/0.2526, allocations: 67.8 kB / 0.9053 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.656e-05/0.2527, allocations: 65.58 kB / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003626/0.253, allocations: 307.5 kB / 0.9056 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.253, allocations: 0 / 0.9056 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2531, allocations: 0 / 0.9056 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.2531, allocations: 0 / 0.9056 GB, free: 58.25 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.0007514/0.2538, allocations: 0.5026 MB / 0.9061 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2539, allocations: 12.03 kB / 0.9061 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.71e-05/0.2539, allocations: 62.53 kB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006952/0.2546, allocations: 103.6 kB / 0.9063 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.255, allocations: 254.6 kB / 0.9065 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.255, allocations: 16.36 kB / 0.9065 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.2551, allocations: 16 kB / 0.9065 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006244/0.2557, allocations: 378.2 kB / 0.9069 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.2557, allocations: 0 / 0.9069 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.2558, allocations: 8 kB / 0.9069 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.39e-05/0.2558, allocations: 28.27 kB / 0.9069 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005905/0.2564, allocations: 336.6 kB / 0.9073 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.258, allocations: 1.724 MB / 0.9089 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006228/0.2587, allocations: 341 kB / 0.9093 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/0.2588, allocations: 89.09 kB / 0.9094 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.2589, allocations: 38.5 kB / 0.9094 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 2.204e-06/0.2589, allocations: 0 / 0.9094 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21): time 0.001347/0.2603, allocations: 0.6064 MB / 0.91 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.2603, allocations: 85.05 kB / 0.9101 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.2605, allocations: 212.3 kB / 0.9103 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.2605, allocations: 25.7 kB / 0.9103 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.424e-05/0.2606, allocations: 163.9 kB / 0.9105 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.2607, allocations: 70.86 kB / 0.9105 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.521e-05/0.2607, allocations: 4 kB / 0.9105 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.33e-05/0.2608, allocations: 334.8 kB / 0.9108 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.261, allocations: 132.5 kB / 0.911 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.2612, allocations: 219.5 kB / 0.9112 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.2615, allocations: 164 kB / 0.9113 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2615, allocations: 0 / 0.9113 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006809/0.2622, allocations: 436.2 kB / 0.9117 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000232/0.2624, allocations: 1.051 MB / 0.9128 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2625, allocations: 8 kB / 0.9128 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002207/0.2627, allocations: 40.77 kB / 0.9128 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.263, allocations: 75.88 kB / 0.9129 GB, free: 50.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.2641, allocations: 1.501 MB / 0.9144 GB, free: 48.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.2643, allocations: 31.81 kB / 0.9144 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.084e-05/0.2644, allocations: 15.94 kB / 0.9144 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.2644, allocations: 4 kB / 0.9144 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006413/0.265, allocations: 372.6 kB / 0.9148 GB, free: 48.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.2651, allocations: 8.062 kB / 0.9148 GB, free: 48.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000124/0.2652, allocations: 44.78 kB / 0.9148 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.2654, allocations: 63.89 kB / 0.9149 GB, free: 48.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.2665, allocations: 1.505 MB / 0.9163 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.2667, allocations: 31.83 kB / 0.9164 GB, free: 46.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.2667, allocations: 15.98 kB / 0.9164 GB, free: 46.41 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.0002164/0.267, allocations: 233.1 kB / 0.9166 GB, free: 46.17 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.634e-05/0.267, allocations: 15.81 kB / 0.9166 GB, free: 46.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006859/0.2677, allocations: 377.9 kB / 0.917 GB, free: 45.78 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2678, allocations: 0 / 0.917 GB, free: 45.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.2678, allocations: 4 kB / 0.917 GB, free: 45.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.2678, allocations: 3.984 kB / 0.917 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.2692, allocations: 0.9618 MB / 0.9179 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2692, allocations: 0 / 0.9179 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.2694, allocations: 56.11 kB / 0.918 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/0.2696, allocations: 40.83 kB / 0.918 GB, free: 44.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.2696, allocations: 7.984 kB / 0.918 GB, free: 44.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008392/0.2704, allocations: 1.422 MB / 0.9194 GB, free: 43.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.2705, allocations: 11.92 kB / 0.9194 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006208/0.2711, allocations: 0.631 MB / 0.9201 GB, free: 42.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.2712, allocations: 120.8 kB / 0.9202 GB, free: 42.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.2713, allocations: 8 kB / 0.9202 GB, free: 42.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.2715, allocations: 23.97 kB / 0.9202 GB, free: 42.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.045e-05/0.2716, allocations: 15.98 kB / 0.9202 GB, free: 42.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.2716, allocations: 12 kB / 0.9202 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001171/0.2717, allocations: 158.8 kB / 0.9204 GB, free: 42 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2717, allocations: 0 / 0.9204 GB, free: 42 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006729/0.2724, allocations: 112 kB / 0.9205 GB, free: 41.89 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.0009798/0.2734, allocations: 1.659 MB / 0.9221 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001189/0.2746, allocations: 0.7433 MB / 0.9228 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.2746, allocations: 3.938 kB / 0.9228 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003552/0.275, allocations: 274.5 kB / 0.9231 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.2753, allocations: 31.97 kB / 0.9231 GB, free: 39.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/0.278, allocations: 3.292 MB / 0.9263 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.2782, allocations: 0.7795 MB / 0.9271 GB, free: 34.86 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002372/0.2785, allocations: 85.86 kB / 0.9272 GB, free: 34.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.2786, allocations: 67.42 kB / 0.9272 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/0.2786, allocations: 4 kB / 0.9273 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.2947, allocations: 5.173 MB / 0.9323 GB, free: 29.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/0.2949, allocations: 216.7 kB / 0.9325 GB, free: 29.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.05, allocations: 0 / 0.9325 GB, free: 29.5 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)