Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 115.3 kB / 17.09 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 200.2 kB / 18.03 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7309/0.7309, allocations: 115.3 MB / 407.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 0.5583 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1779, allocations: 76.18 MB / 0.6327 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004622/0.1825, allocations: 2.869 MB / 0.6355 GB, free: 1.496 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002946/0.1855, allocations: 1.808 MB / 0.6373 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.1857, allocations: 4 kB / 0.6373 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009193/0.1866, allocations: 237.6 kB / 0.6375 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005134/0.1872, allocations: 203.1 kB / 0.6377 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005886/0.1878, allocations: 231.4 kB / 0.6379 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.1881, allocations: 307 kB / 0.6382 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003507/0.1885, allocations: 178.3 kB / 0.6384 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.1887, allocations: 127.5 kB / 0.6385 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.189, allocations: 151.5 kB / 0.6387 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.1891, allocations: 20 kB / 0.6387 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004631/0.1895, allocations: 283.4 kB / 0.639 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.666e-05/0.1896, allocations: 83.78 kB / 0.639 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.1898, allocations: 115.4 kB / 0.6391 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005721/0.1904, allocations: 442.6 kB / 0.6396 GB, free: 13.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.1904, allocations: 0 / 0.6396 GB, free: 13.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1904, allocations: 0 / 0.6396 GB, free: 13.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1904, allocations: 0 / 0.6396 GB, free: 13.34 MB / 494.1 MB 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.0009855/0.1914, allocations: 0.5457 MB / 0.6401 GB, free: 12.74 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.1914, allocations: 12.03 kB / 0.6401 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009453/0.1924, allocations: 112.5 kB / 0.6402 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.1927, allocations: 260.5 kB / 0.6405 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.1928, allocations: 12.75 kB / 0.6405 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/0.1928, allocations: 28.36 kB / 0.6405 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006705/0.1935, allocations: 390.3 kB / 0.6409 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.1935, allocations: 3.906 kB / 0.6409 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.635e-05/0.1936, allocations: 12 kB / 0.6409 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.905e-05/0.1936, allocations: 20.31 kB / 0.6409 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006763/0.1943, allocations: 340.6 kB / 0.6412 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.1963, allocations: 1.736 MB / 0.6429 GB, free: 9.629 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/0.197, allocations: 333.1 kB / 0.6433 GB, free: 9.285 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.1972, allocations: 153.6 kB / 0.6434 GB, free: 9.129 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.1974, allocations: 85.11 kB / 0.6435 GB, free: 9.027 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.1974, allocations: 38.5 kB / 0.6435 GB, free: 8.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.1974, allocations: 0 / 0.6435 GB, free: 8.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.001431/0.1989, allocations: 0.601 MB / 0.6441 GB, free: 8.352 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.1989, allocations: 85.11 kB / 0.6442 GB, free: 8.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.1992, allocations: 211.8 kB / 0.6444 GB, free: 8.031 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.1993, allocations: 37.83 kB / 0.6444 GB, free: 7.988 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.1994, allocations: 167.8 kB / 0.6446 GB, free: 7.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.418e-05/0.1995, allocations: 67 kB / 0.6446 GB, free: 7.754 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.1996, allocations: 61.88 kB / 0.6447 GB, free: 7.688 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1997, allocations: 326.8 kB / 0.645 GB, free: 7.359 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.2, allocations: 141.9 kB / 0.6452 GB, free: 7.219 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/0.2004, allocations: 223.3 kB / 0.6454 GB, free: 6.965 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006153/0.201, allocations: 371 kB / 0.6457 GB, free: 6.566 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.201, allocations: 0 / 0.6457 GB, free: 6.566 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008661/0.2019, allocations: 438.4 kB / 0.6461 GB, free: 6.129 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2019, allocations: 4 kB / 0.6461 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.2019, allocations: 4 kB / 0.6461 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002837/0.2022, allocations: 45.16 kB / 0.6462 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.2026, allocations: 75.88 kB / 0.6463 GB, free: 6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.2041, allocations: 1.615 MB / 0.6478 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.2044, allocations: 27.97 kB / 0.6479 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.2045, allocations: 19.98 kB / 0.6479 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003574/0.2048, allocations: 247 kB / 0.6481 GB, free: 3.949 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003329/0.2052, allocations: 207.1 kB / 0.6483 GB, free: 3.707 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005543/0.2057, allocations: 361 kB / 0.6487 GB, free: 3.316 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.216e-06/0.2058, allocations: 4 kB / 0.6487 GB, free: 3.312 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0008366/0.2066, allocations: 413.7 kB / 0.6491 GB, free: 2.898 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2066, allocations: 9.406 kB / 0.6491 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2066, allocations: 4.375 kB / 0.6491 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001385/0.2068, allocations: 48.81 kB / 0.6491 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.2071, allocations: 63.89 kB / 0.6492 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001664/0.2087, allocations: 1.615 MB / 0.6508 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.2091, allocations: 31.86 kB / 0.6508 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.2091, allocations: 12 kB / 0.6508 GB, free: 0.9688 MB / 494.1 MB 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.0001902/0.2093, allocations: 200.2 kB / 0.651 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.509e-05/0.2094, allocations: 19.81 kB / 0.651 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007195/0.2101, allocations: 359.9 kB / 0.6513 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.2101, allocations: 3.984 kB / 0.6514 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2101, allocations: 4 kB / 0.6514 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.2103, allocations: 120.8 kB / 0.6515 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.2103, allocations: 8 kB / 0.6515 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.2106, allocations: 23.95 kB / 0.6515 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.2107, allocations: 20.06 kB / 0.6515 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008325/0.2115, allocations: 0.5036 MB / 0.652 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008544/0.2124, allocations: 0.6865 MB / 0.6527 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002248/0.2126, allocations: 132 kB / 0.6528 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000194/0.2128, allocations: 159 kB / 0.653 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of Backend: time 7.41e-07/0.2128, allocations: 11.88 kB / 0.653 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002077/0.2149, allocations: 0.8536 MB / 0.6538 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of SimCode: time 0.001042/0.216, allocations: 0.8853 MB / 0.6547 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of Templates: time 0.01186/0.2279, allocations: 6.286 MB / 0.6608 GB, free: 6.586 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)