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.36/1.36, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001103/0.001103, allocations: 182.8 kB / 326.5 MB, free: 2.676 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.519/1.519, allocations: 205 MB / 0.5766 GB, free: 21.03 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.0007629/0.0007626, allocations: 93.05 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003458, allocations: 8.906 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.175, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.002833/0.1779, allocations: 2.615 MB / 0.8993 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002203/0.1802, allocations: 1.711 MB / 0.901 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.1804, allocations: 4 kB / 0.901 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006889/0.1811, allocations: 215.3 kB / 0.9012 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003814/0.1814, allocations: 167.3 kB / 0.9013 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/0.182, allocations: 207.5 kB / 0.9015 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003397/0.1823, allocations: 430.8 kB / 0.902 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003255/0.1826, allocations: 174.2 kB / 0.9021 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.1828, allocations: 107.5 kB / 0.9022 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.1831, allocations: 135.5 kB / 0.9024 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.1831, allocations: 12 kB / 0.9024 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004186/0.1836, allocations: 311.4 kB / 0.9027 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.369e-05/0.1836, allocations: 67.81 kB / 0.9027 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.202e-05/0.1837, allocations: 103.4 kB / 0.9028 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.1842, allocations: 418.6 kB / 0.9032 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1842, allocations: 4 kB / 0.9032 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1842, allocations: 0 / 0.9032 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.1842, allocations: 0 / 0.9032 GB, free: 61.51 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.0006944/0.1849, allocations: 0.5028 MB / 0.9037 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.185, allocations: 8.031 kB / 0.9037 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006527/0.1856, allocations: 88.56 kB / 0.9038 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.1859, allocations: 263.9 kB / 0.9041 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1859, allocations: 12.75 kB / 0.9041 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.186, allocations: 20.38 kB / 0.9041 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004993/0.1865, allocations: 382.5 kB / 0.9045 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.1865, allocations: 4 kB / 0.9045 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.1865, allocations: 4 kB / 0.9045 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-05/0.1866, allocations: 28.31 kB / 0.9045 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005059/0.1871, allocations: 340.6 kB / 0.9048 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.1884, allocations: 1.721 MB / 0.9065 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005738/0.189, allocations: 337.1 kB / 0.9068 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.1893, allocations: 157.5 kB / 0.907 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.1894, allocations: 93.08 kB / 0.9071 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.1894, allocations: 42.5 kB / 0.9071 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.844e-06/0.1894, allocations: 0 / 0.9071 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21): time 0.001156/0.1906, allocations: 0.6115 MB / 0.9077 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.1906, allocations: 81.11 kB / 0.9078 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.1908, allocations: 208.4 kB / 0.908 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.1908, allocations: 25.7 kB / 0.908 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.1909, allocations: 167.9 kB / 0.9082 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.1909, allocations: 74.89 kB / 0.9082 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.1909, allocations: 33.64 kB / 0.9083 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.878e-05/0.191, allocations: 330.8 kB / 0.9086 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.1912, allocations: 136.5 kB / 0.9087 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.1914, allocations: 215.3 kB / 0.9089 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004427/0.1919, allocations: 378.9 kB / 0.9093 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1919, allocations: 0 / 0.9093 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006431/0.1926, allocations: 433.5 kB / 0.9097 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.967e-05/0.1926, allocations: 166.7 kB / 0.9098 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1926, allocations: 7.938 kB / 0.9099 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001982/0.1928, allocations: 44.81 kB / 0.9099 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.1931, allocations: 75.88 kB / 0.91 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009545/0.1941, allocations: 1.493 MB / 0.9114 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.1943, allocations: 31.88 kB / 0.9115 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.1943, allocations: 12 kB / 0.9115 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.811e-06/0.1944, allocations: 4 kB / 0.9115 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005816/0.1949, allocations: 376.7 kB / 0.9118 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.195, allocations: 4 kB / 0.9118 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001091/0.1951, allocations: 40.77 kB / 0.9119 GB, free: 51.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.1953, allocations: 67.89 kB / 0.9119 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008058/0.1961, allocations: 1.489 MB / 0.9134 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.1963, allocations: 27.88 kB / 0.9134 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.1964, allocations: 15.94 kB / 0.9134 GB, free: 50.25 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.1965, allocations: 237 kB / 0.9137 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.017e-05/0.1966, allocations: 19.81 kB / 0.9137 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000564/0.1971, allocations: 365.8 kB / 0.914 GB, free: 49.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1971, allocations: 4 kB / 0.914 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1971, allocations: 0 / 0.914 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.143e-05/0.1972, allocations: 125 kB / 0.9141 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.1973, allocations: 7.938 kB / 0.9142 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.1975, allocations: 35.89 kB / 0.9142 GB, free: 49.44 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.1976, allocations: 19.92 kB / 0.9142 GB, free: 49.42 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007034/0.1983, allocations: 0.5123 MB / 0.9147 GB, free: 48.9 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006866/0.199, allocations: 0.7168 MB / 0.9154 GB, free: 48.17 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001952/0.1992, allocations: 135.9 kB / 0.9155 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001002/0.1993, allocations: 155.5 kB / 0.9157 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of Backend: time 3.6e-07/0.1993, allocations: 0 / 0.9157 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001462/0.2008, allocations: 0.8372 MB / 0.9165 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0007784/0.2016, allocations: 0.979 MB / 0.9175 GB, free: 45.99 MB / 0.6042 GB Notification: Performance of Templates: time 0.007565/0.2092, allocations: 5.25 MB / 0.9226 GB, free: 40.75 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)