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: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.497/1.497, allocations: 252 MB / 267.6 MB, free: 10.9 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.001124/0.001124, allocations: 182.8 kB / 327.3 MB, free: 2.184 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.85/1.85, allocations: 205.4 MB / 0.5783 GB, free: 20.2 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.000704/0.000704, allocations: 82.36 kB / 0.6829 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.00031, allocations: 13.56 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.217, allocations: 106.3 MB / 0.9008 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.00298/0.22, allocations: 2.501 MB / 0.9033 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002143/0.2222, allocations: 1.568 MB / 0.9048 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.2224, allocations: 3.938 kB / 0.9048 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.2226, allocations: 31.78 kB / 0.9048 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.2229, allocations: 139.4 kB / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004195/0.2234, allocations: 167.6 kB / 0.9051 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.2236, allocations: 346.9 kB / 0.9055 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005992/0.2242, allocations: 373.2 kB / 0.9058 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.2244, allocations: 99.61 kB / 0.9059 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.2246, allocations: 135.5 kB / 0.906 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.2247, allocations: 8 kB / 0.906 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002388/0.2249, allocations: 143.8 kB / 0.9062 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.225, allocations: 75.78 kB / 0.9063 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.225, allocations: 65.58 kB / 0.9063 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.2253, allocations: 307.5 kB / 0.9066 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.2253, allocations: 0 / 0.9066 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.335e-06/0.2254, allocations: 0 / 0.9066 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.2254, allocations: 0 / 0.9066 GB, free: 57.86 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.0007588/0.2261, allocations: 0.5066 MB / 0.9071 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2262, allocations: 8.031 kB / 0.9071 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006435/0.2268, allocations: 95.58 kB / 0.9072 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.2271, allocations: 254.6 kB / 0.9074 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.2271, allocations: 12.38 kB / 0.9075 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.2272, allocations: 20 kB / 0.9075 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005589/0.2277, allocations: 378.2 kB / 0.9078 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.2278, allocations: 4 kB / 0.9078 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.2278, allocations: 7.938 kB / 0.9079 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.882e-05/0.2278, allocations: 28.31 kB / 0.9079 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005176/0.2284, allocations: 340.6 kB / 0.9082 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.2298, allocations: 1.724 MB / 0.9099 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000596/0.2304, allocations: 337.1 kB / 0.9102 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.2306, allocations: 165.5 kB / 0.9104 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.2308, allocations: 81.11 kB / 0.9104 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.2308, allocations: 38.56 kB / 0.9105 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/0.2308, allocations: 0 / 0.9105 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21): time 0.001349/0.2322, allocations: 0.5999 MB / 0.9111 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.2322, allocations: 81.05 kB / 0.9111 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.2324, allocations: 212.3 kB / 0.9113 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.2324, allocations: 25.7 kB / 0.9114 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.841e-05/0.2325, allocations: 167.8 kB / 0.9115 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.282e-05/0.2326, allocations: 78.84 kB / 0.9116 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.487e-05/0.2326, allocations: 8 kB / 0.9116 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.428e-05/0.2327, allocations: 330.8 kB / 0.9119 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.233, allocations: 128.5 kB / 0.9121 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.2332, allocations: 219.5 kB / 0.9123 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.2335, allocations: 160.8 kB / 0.9124 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2335, allocations: 4 kB / 0.9124 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006514/0.2341, allocations: 431.5 kB / 0.9128 GB, free: 51.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.625e-05/0.2342, allocations: 170.7 kB / 0.913 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.2342, allocations: 4 kB / 0.913 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002408/0.2345, allocations: 44.77 kB / 0.913 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.2348, allocations: 75.88 kB / 0.9131 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.2359, allocations: 1.485 MB / 0.9146 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.2361, allocations: 39.88 kB / 0.9146 GB, free: 49.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.2362, allocations: 12 kB / 0.9146 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.662e-06/0.2362, allocations: 4 kB / 0.9146 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006111/0.2368, allocations: 372.4 kB / 0.915 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2368, allocations: 3.953 kB / 0.915 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001162/0.2369, allocations: 48.98 kB / 0.915 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.2372, allocations: 63.89 kB / 0.9151 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008392/0.238, allocations: 1.481 MB / 0.9165 GB, free: 46.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.2382, allocations: 35.84 kB / 0.9166 GB, free: 46.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.2383, allocations: 12.06 kB / 0.9166 GB, free: 46.89 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.0001635/0.2384, allocations: 237.7 kB / 0.9168 GB, free: 46.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.2385, allocations: 19.77 kB / 0.9168 GB, free: 46.63 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006121/0.2391, allocations: 374.9 kB / 0.9172 GB, free: 46.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.2391, allocations: 0 / 0.9172 GB, free: 46.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2391, allocations: 4 kB / 0.9172 GB, free: 46.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2392, allocations: 3.938 kB / 0.9172 GB, free: 46.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.2403, allocations: 0.9727 MB / 0.9181 GB, free: 45.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2404, allocations: 4.031 kB / 0.9181 GB, free: 45.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.2406, allocations: 55.89 kB / 0.9182 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001131/0.2407, allocations: 40.77 kB / 0.9182 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.2407, allocations: 4 kB / 0.9182 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000767/0.2415, allocations: 1.41 MB / 0.9196 GB, free: 43.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2415, allocations: 0 / 0.9196 GB, free: 43.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/0.2421, allocations: 0.55 MB / 0.9201 GB, free: 42.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.281e-05/0.2422, allocations: 124.8 kB / 0.9203 GB, free: 42.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.2423, allocations: 4 kB / 0.9203 GB, free: 42.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.2425, allocations: 27.97 kB / 0.9203 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.2425, allocations: 19.92 kB / 0.9203 GB, free: 42.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.2426, allocations: 15.98 kB / 0.9203 GB, free: 42.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001063/0.2427, allocations: 154.8 kB / 0.9205 GB, free: 42.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2427, allocations: 0 / 0.9205 GB, free: 42.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000558/0.2432, allocations: 108 kB / 0.9206 GB, free: 42.51 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.0001904/0.2434, allocations: 113.4 kB / 0.9207 GB, free: 42.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001661/0.2451, allocations: 0.7513 MB / 0.9214 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2451, allocations: 0 / 0.9214 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004402/0.2456, allocations: 270.5 kB / 0.9217 GB, free: 41.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.2461, allocations: 36.62 kB / 0.9217 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008742/0.2469, allocations: 0.6946 MB / 0.9224 GB, free: 40.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.2471, allocations: 0.7717 MB / 0.9231 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.605e-05/0.2472, allocations: 23.42 kB / 0.9232 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.2472, allocations: 4 kB / 0.9232 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.005094/0.2523, allocations: 4.169 MB / 0.9272 GB, free: 35.56 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)