Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.694/2.694, allocations: 287.3 MB / 302.3 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001593/0.001593, allocations: 186.9 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.354/2.354, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 99.12 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006414/0.0006415, allocations: 16.25 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2163, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.00366/0.22, allocations: 2.451 MB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002923/0.223, allocations: 1.529 MB / 0.9821 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.2232, allocations: 7.938 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.2234, allocations: 27.83 kB / 0.9821 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005381/0.2239, allocations: 123.5 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006514/0.2246, allocations: 171.5 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003277/0.2249, allocations: 179.6 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008494/0.2258, allocations: 360.1 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.226, allocations: 87.69 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.2263, allocations: 99.64 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/0.2263, allocations: 8 kB / 0.9831 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004057/0.2268, allocations: 135.8 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.886e-05/0.2269, allocations: 67.8 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.874e-05/0.2269, allocations: 65.58 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004547/0.2274, allocations: 303.5 kB / 0.9836 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2274, allocations: 4 kB / 0.9836 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.415e-06/0.2274, allocations: 0 / 0.9836 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.2274, allocations: 3.938 kB / 0.9836 GB, free: 22.73 MB / 0.6198 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.0009843/0.2284, allocations: 0.5028 MB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2285, allocations: 8.031 kB / 0.9841 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.2296, allocations: 103.6 kB / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.23, allocations: 255.9 kB / 0.9845 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.23, allocations: 20.34 kB / 0.9845 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.906e-05/0.2301, allocations: 19.91 kB / 0.9845 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008229/0.2309, allocations: 378.2 kB / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.231, allocations: 3.984 kB / 0.9849 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.231, allocations: 8 kB / 0.9849 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.973e-05/0.2311, allocations: 24.31 kB / 0.9849 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009172/0.232, allocations: 332.6 kB / 0.9852 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/0.2342, allocations: 1.721 MB / 0.9869 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.2353, allocations: 341 kB / 0.9872 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/0.2354, allocations: 81.11 kB / 0.9873 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.2355, allocations: 42.48 kB / 0.9874 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.705e-06/0.2355, allocations: 0 / 0.9874 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.001943/0.2374, allocations: 0.6057 MB / 0.988 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.2375, allocations: 81.11 kB / 0.988 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.2377, allocations: 208.3 kB / 0.9882 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.2378, allocations: 29.7 kB / 0.9883 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.486e-05/0.2379, allocations: 163.9 kB / 0.9884 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.404e-05/0.2379, allocations: 74.95 kB / 0.9885 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.238, allocations: 7.938 kB / 0.9885 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.287e-05/0.2381, allocations: 330.8 kB / 0.9888 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.2385, allocations: 136.4 kB / 0.9889 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/0.2389, allocations: 219.5 kB / 0.9892 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.2393, allocations: 164.8 kB / 0.9893 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2393, allocations: 3.938 kB / 0.9893 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001171/0.2405, allocations: 435.6 kB / 0.9897 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002154/0.2408, allocations: 1.051 MB / 0.9908 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.2408, allocations: 0 / 0.9908 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003165/0.2411, allocations: 48.81 kB / 0.9908 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005378/0.2417, allocations: 71.89 kB / 0.9909 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.2432, allocations: 1.512 MB / 0.9923 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003755/0.2436, allocations: 31.91 kB / 0.9924 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.2436, allocations: 12 kB / 0.9924 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.2437, allocations: 5.875 kB / 0.9924 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001092/0.2448, allocations: 372.3 kB / 0.9927 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2448, allocations: 0 / 0.9927 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002048/0.245, allocations: 41.17 kB / 0.9928 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.2455, allocations: 79.83 kB / 0.9929 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.2468, allocations: 1.497 MB / 0.9943 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.2471, allocations: 27.83 kB / 0.9944 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.2472, allocations: 15.98 kB / 0.9944 GB, free: 10.97 MB / 0.6198 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.0002144/0.2474, allocations: 229 kB / 0.9946 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.038e-05/0.2475, allocations: 23.72 kB / 0.9946 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.2486, allocations: 368.1 kB / 0.995 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.2486, allocations: 4 kB / 0.995 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2486, allocations: 4 kB / 0.995 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.2486, allocations: 3.984 kB / 0.995 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.2507, allocations: 0.9638 MB / 0.9959 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.2507, allocations: 4 kB / 0.9959 GB, free: 9.289 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004189/0.2512, allocations: 51.97 kB / 0.996 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001966/0.2514, allocations: 45.03 kB / 0.996 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.2514, allocations: 8 kB / 0.996 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.2527, allocations: 1.417 MB / 0.9974 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.2527, allocations: 3.953 kB / 0.9974 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009993/0.2537, allocations: 0.6234 MB / 0.998 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.2539, allocations: 132.7 kB / 0.9981 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.669e-05/0.2539, allocations: 4 kB / 0.9981 GB, free: 6.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.2543, allocations: 23.97 kB / 0.9982 GB, free: 6.746 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.341e-05/0.2544, allocations: 23.92 kB / 0.9982 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.2544, allocations: 11.98 kB / 0.9982 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001598/0.2546, allocations: 155.6 kB / 0.9983 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2546, allocations: 3.938 kB / 0.9984 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008317/0.2555, allocations: 112 kB / 0.9985 GB, free: 6.445 MB / 0.6198 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.0001494/0.2556, allocations: 107.1 kB / 0.9986 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001738/0.2574, allocations: 0.7401 MB / 0.9993 GB, free: 5.566 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2574, allocations: 0 / 0.9993 GB, free: 5.566 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005715/0.258, allocations: 281.4 kB / 0.9996 GB, free: 5.281 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.2584, allocations: 27.97 kB / 0.9996 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.2596, allocations: 0.6575 MB / 1 GB, free: 4.547 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.2599, allocations: 0.7795 MB / 1.001 GB, free: 3.742 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003953/0.2603, allocations: 85.86 kB / 1.001 GB, free: 3.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.2605, allocations: 27.44 kB / 1.001 GB, free: 3.633 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.2605, allocations: 0 / 1.001 GB, free: 3.633 MB / 0.6198 GB Notification: Performance of Templates: time 0.01378/0.2743, allocations: 2.977 MB / 1.004 GB, free: 0.6641 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)