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 loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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") 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.249/2.249, allocations: 251.3 MB / 266.2 MB, free: 11.54 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.001384/0.001384, allocations: 178.6 kB / 325.8 MB, free: 2.809 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.709/2.709, allocations: 205.4 MB / 0.5767 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.0008992/0.0008991, allocations: 95.11 kB / 0.6813 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004719/0.0004721, allocations: 11.47 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2094, allocations: 106.2 MB / 0.899 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003725/0.2132, allocations: 2.501 MB / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002935/0.2162, allocations: 1.576 MB / 0.903 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.2164, allocations: 7.938 kB / 0.903 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.2166, allocations: 31.77 kB / 0.903 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005325/0.2172, allocations: 135.4 kB / 0.9032 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000631/0.2178, allocations: 167.6 kB / 0.9033 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004201/0.2182, allocations: 350.9 kB / 0.9037 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008254/0.2191, allocations: 375 kB / 0.904 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.2193, allocations: 103.6 kB / 0.9041 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.2196, allocations: 135.5 kB / 0.9043 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.2197, allocations: 8 kB / 0.9043 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003721/0.22, allocations: 143.8 kB / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.82e-05/0.2201, allocations: 75.78 kB / 0.9045 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.662e-05/0.2202, allocations: 57.64 kB / 0.9045 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.2206, allocations: 307.5 kB / 0.9048 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.2206, allocations: 7.938 kB / 0.9048 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2206, allocations: 3.938 kB / 0.9048 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.2207, allocations: 0 / 0.9048 GB, free: 59.43 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.0009481/0.2216, allocations: 0.5029 MB / 0.9053 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.2217, allocations: 8.031 kB / 0.9053 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009538/0.2226, allocations: 96.47 kB / 0.9054 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.223, allocations: 256 kB / 0.9057 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.223, allocations: 16.73 kB / 0.9057 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.2231, allocations: 16.38 kB / 0.9057 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008045/0.2239, allocations: 378.4 kB / 0.9061 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.224, allocations: 11.92 kB / 0.9061 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.172e-05/0.224, allocations: 8 kB / 0.9061 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.748e-05/0.2241, allocations: 24.31 kB / 0.9061 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000909/0.225, allocations: 336.6 kB / 0.9064 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/0.2272, allocations: 1.721 MB / 0.9081 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.2283, allocations: 337 kB / 0.9084 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004015/0.2287, allocations: 153.6 kB / 0.9086 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.2289, allocations: 96.98 kB / 0.9087 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.2289, allocations: 42.56 kB / 0.9087 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 2.645e-06/0.2289, allocations: 0 / 0.9087 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21): time 0.00199/0.2309, allocations: 0.606 MB / 0.9093 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.231, allocations: 77.11 kB / 0.9094 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.2312, allocations: 212.3 kB / 0.9096 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.2312, allocations: 29.7 kB / 0.9096 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.243e-05/0.2313, allocations: 155.9 kB / 0.9097 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.817e-05/0.2314, allocations: 74.91 kB / 0.9098 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.2315, allocations: 4 kB / 0.9098 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.019e-05/0.2315, allocations: 330.8 kB / 0.9101 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003902/0.2319, allocations: 132.5 kB / 0.9103 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004316/0.2324, allocations: 219.3 kB / 0.9105 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/0.2328, allocations: 167 kB / 0.9106 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2329, allocations: 0 / 0.9106 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001202/0.2341, allocations: 437.8 kB / 0.911 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.62e-05/0.2342, allocations: 170.7 kB / 0.9112 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.2342, allocations: 4 kB / 0.9112 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003127/0.2345, allocations: 40.81 kB / 0.9113 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005499/0.2351, allocations: 71.89 kB / 0.9113 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.2366, allocations: 1.501 MB / 0.9128 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004365/0.2371, allocations: 35.81 kB / 0.9128 GB, free: 50.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.602e-05/0.2372, allocations: 15.98 kB / 0.9128 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.2372, allocations: 8.062 kB / 0.9128 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001063/0.2383, allocations: 365.8 kB / 0.9132 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2383, allocations: 7.875 kB / 0.9132 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002111/0.2385, allocations: 44.75 kB / 0.9132 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.239, allocations: 71.89 kB / 0.9133 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.2404, allocations: 1.473 MB / 0.9148 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.2407, allocations: 35.83 kB / 0.9148 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.2407, allocations: 11.98 kB / 0.9148 GB, free: 48.46 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.0002294/0.241, allocations: 237 kB / 0.915 GB, free: 48.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-05/0.2411, allocations: 15.81 kB / 0.915 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.2421, allocations: 361.9 kB / 0.9154 GB, free: 47.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2421, allocations: 4 kB / 0.9154 GB, free: 47.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2422, allocations: 144 / 0.9154 GB, free: 47.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.2422, allocations: 15.91 kB / 0.9154 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.2442, allocations: 0.9694 MB / 0.9164 GB, free: 46.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.2443, allocations: 11.98 kB / 0.9164 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004436/0.2447, allocations: 56.19 kB / 0.9164 GB, free: 46.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002125/0.245, allocations: 36.81 kB / 0.9165 GB, free: 46.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.245, allocations: 8 kB / 0.9165 GB, free: 46.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/0.2463, allocations: 1.398 MB / 0.9178 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.2463, allocations: 7.875 kB / 0.9178 GB, free: 45.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.2474, allocations: 0.5452 MB / 0.9184 GB, free: 44.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.2476, allocations: 124.8 kB / 0.9185 GB, free: 44.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.089e-05/0.2477, allocations: 8 kB / 0.9185 GB, free: 44.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003872/0.2481, allocations: 19.97 kB / 0.9185 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.494e-05/0.2482, allocations: 23.97 kB / 0.9185 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.2482, allocations: 4 kB / 0.9185 GB, free: 44.35 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001746/0.2484, allocations: 159 kB / 0.9187 GB, free: 44.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2484, allocations: 0 / 0.9187 GB, free: 44.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008182/0.2492, allocations: 104 kB / 0.9188 GB, free: 44.09 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.0001808/0.2494, allocations: 119.1 kB / 0.9189 GB, free: 43.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001888/0.2513, allocations: 0.7514 MB / 0.9196 GB, free: 43.19 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.2514, allocations: 0 / 0.9196 GB, free: 43.19 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006082/0.252, allocations: 274.5 kB / 0.9199 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006506/0.2527, allocations: 28.55 kB / 0.9199 GB, free: 42.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.254, allocations: 0.6711 MB / 0.9206 GB, free: 42.17 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.2543, allocations: 0.7755 MB / 0.9213 GB, free: 41.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004261/0.2548, allocations: 89.98 kB / 0.9214 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.2549, allocations: 23.44 kB / 0.9214 GB, free: 41.25 MB / 0.6042 GB Notification: Performance of SimCode: time 1.022e-06/0.2549, allocations: 3.938 kB / 0.9214 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of Templates: time 0.008845/0.2638, allocations: 2.97 MB / 0.9243 GB, free: 38.28 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)