Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.438/2.438, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001608/0.001607, allocations: 190 kB / 325.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.498/2.498, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002178/0.002178, allocations: 88.33 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006991/0.0006994, allocations: 13.08 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2459, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003936/0.2499, allocations: 2.451 MB / 0.9013 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003194/0.2532, allocations: 1.537 MB / 0.9028 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.2534, allocations: 4 kB / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.2536, allocations: 39.75 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005628/0.2542, allocations: 115.6 kB / 0.9029 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008058/0.255, allocations: 167.6 kB / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004422/0.2555, allocations: 175.6 kB / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.2565, allocations: 362.9 kB / 0.9036 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.2568, allocations: 91.67 kB / 0.9037 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.2571, allocations: 103.6 kB / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.2571, allocations: 8 kB / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.2576, allocations: 131.8 kB / 0.9039 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.705e-05/0.2577, allocations: 71.8 kB / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.297e-05/0.2578, allocations: 65.58 kB / 0.9041 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005179/0.2583, allocations: 307.5 kB / 0.9043 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.2583, allocations: 0 / 0.9043 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.414e-06/0.2583, allocations: 0 / 0.9043 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.2584, allocations: 0 / 0.9043 GB, free: 59.8 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.001052/0.2594, allocations: 0.5066 MB / 0.9048 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.2595, allocations: 12.03 kB / 0.9049 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.2606, allocations: 107.5 kB / 0.905 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/0.2611, allocations: 250.6 kB / 0.9052 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.2611, allocations: 12.38 kB / 0.9052 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.377e-05/0.2612, allocations: 23.97 kB / 0.9052 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008564/0.2621, allocations: 382 kB / 0.9056 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.2621, allocations: 0 / 0.9056 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.511e-05/0.2622, allocations: 8 kB / 0.9056 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-05/0.2623, allocations: 24.27 kB / 0.9056 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009885/0.2633, allocations: 336.6 kB / 0.9059 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.2658, allocations: 1.721 MB / 0.9076 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.2671, allocations: 343.2 kB / 0.908 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/0.2673, allocations: 85.09 kB / 0.908 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.2674, allocations: 34.56 kB / 0.9081 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 2.975e-06/0.2674, allocations: 4 kB / 0.9081 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21): time 0.002121/0.2695, allocations: 0.6078 MB / 0.9087 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.2696, allocations: 85.06 kB / 0.9087 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.2699, allocations: 200.4 kB / 0.9089 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.2699, allocations: 33.7 kB / 0.909 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.946e-05/0.27, allocations: 155.9 kB / 0.9091 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/0.2701, allocations: 75 kB / 0.9092 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.2701, allocations: 4 kB / 0.9092 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.17e-05/0.2702, allocations: 330.8 kB / 0.9095 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/0.2706, allocations: 132.5 kB / 0.9096 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004484/0.2711, allocations: 219.5 kB / 0.9098 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/0.2715, allocations: 156.8 kB / 0.91 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2716, allocations: 3.938 kB / 0.91 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001246/0.2728, allocations: 443.4 kB / 0.9104 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002365/0.2731, allocations: 1.063 MB / 0.9115 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.2731, allocations: 0 / 0.9115 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003536/0.2735, allocations: 48.86 kB / 0.9115 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006/0.2741, allocations: 75.88 kB / 0.9116 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.2758, allocations: 1.501 MB / 0.913 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004285/0.2763, allocations: 35.81 kB / 0.9131 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.2764, allocations: 12 kB / 0.9131 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.2764, allocations: 6.188 kB / 0.9131 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001096/0.2775, allocations: 380.6 kB / 0.9135 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.2775, allocations: 0 / 0.9135 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002293/0.2778, allocations: 44.72 kB / 0.9135 GB, free: 49.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/0.2783, allocations: 71.89 kB / 0.9136 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.2798, allocations: 1.501 MB / 0.915 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.2802, allocations: 27.83 kB / 0.9151 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.2802, allocations: 12.12 kB / 0.9151 GB, free: 48.02 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.0002473/0.2805, allocations: 233.1 kB / 0.9153 GB, free: 47.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.899e-05/0.2806, allocations: 27.77 kB / 0.9153 GB, free: 47.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.2817, allocations: 369 kB / 0.9157 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.2817, allocations: 4 kB / 0.9157 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2817, allocations: 0 / 0.9157 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2817, allocations: 0 / 0.9157 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.2839, allocations: 0.9638 MB / 0.9166 GB, free: 46.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.2839, allocations: 4 kB / 0.9166 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/0.2844, allocations: 56.11 kB / 0.9167 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002223/0.2846, allocations: 36.83 kB / 0.9167 GB, free: 46.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.2847, allocations: 8 kB / 0.9167 GB, free: 46.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/0.286, allocations: 1.425 MB / 0.9181 GB, free: 44.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.2861, allocations: 3.938 kB / 0.9181 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.2872, allocations: 0.6194 MB / 0.9187 GB, free: 43.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.2874, allocations: 132.7 kB / 0.9188 GB, free: 43.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/0.2875, allocations: 0 / 0.9188 GB, free: 43.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003997/0.2879, allocations: 31.97 kB / 0.9189 GB, free: 43.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.2881, allocations: 15.98 kB / 0.9189 GB, free: 43.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.2881, allocations: 8 kB / 0.9189 GB, free: 43.78 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001947/0.2883, allocations: 159 kB / 0.919 GB, free: 43.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2883, allocations: 0 / 0.919 GB, free: 43.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008919/0.2892, allocations: 108 kB / 0.9192 GB, free: 43.52 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.0001898/0.2894, allocations: 111.1 kB / 0.9193 GB, free: 43.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00204/0.2915, allocations: 0.7356 MB / 0.92 GB, free: 42.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.2915, allocations: 0 / 0.92 GB, free: 42.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006442/0.2922, allocations: 287.7 kB / 0.9203 GB, free: 42.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005249/0.2927, allocations: 31.55 kB / 0.9203 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.2941, allocations: 0.6601 MB / 0.9209 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.2945, allocations: 0.7756 MB / 0.9217 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004994/0.295, allocations: 89.88 kB / 0.9218 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.2952, allocations: 23.42 kB / 0.9218 GB, free: 40.69 MB / 0.6042 GB Notification: Performance of SimCode: time 1.072e-06/0.2952, allocations: 7.938 kB / 0.9218 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.01027/0.3055, allocations: 2.97 MB / 0.9247 GB, free: 37.72 MB / 0.6042 GB