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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 111 kB / 17.33 MB, free: 5.043 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.001281/0.001281, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.362/1.362, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8092/0.8092, allocations: 128.4 MB / 426.1 MB, free: 7.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 63.95 kB / 0.5911 GB, free: 21.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1504, allocations: 83.26 MB / 0.6724 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004478/0.1548, allocations: 2.918 MB / 0.6753 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002894/0.1577, allocations: 1.828 MB / 0.6771 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.1578, allocations: 8 kB / 0.6771 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008333/0.1587, allocations: 234 kB / 0.6773 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004762/0.1591, allocations: 203.1 kB / 0.6775 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.1597, allocations: 227.4 kB / 0.6777 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003943/0.1601, allocations: 315 kB / 0.678 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003186/0.1604, allocations: 150.4 kB / 0.6782 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.1606, allocations: 135.5 kB / 0.6783 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.1609, allocations: 151.5 kB / 0.6784 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.161, allocations: 20 kB / 0.6785 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004572/0.1614, allocations: 291.4 kB / 0.6787 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.1615, allocations: 87.72 kB / 0.6788 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.1617, allocations: 115.4 kB / 0.6789 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005682/0.1622, allocations: 442.2 kB / 0.6794 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1622, allocations: 0 / 0.6794 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1622, allocations: 0 / 0.6794 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.1622, allocations: 4 kB / 0.6794 GB, free: 12.81 MB / 0.5137 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.0009559/0.1632, allocations: 0.5491 MB / 0.6799 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.1632, allocations: 12.03 kB / 0.6799 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009094/0.1641, allocations: 112.7 kB / 0.68 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.1645, allocations: 271.9 kB / 0.6803 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.1645, allocations: 12.75 kB / 0.6803 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.069e-05/0.1646, allocations: 16.38 kB / 0.6803 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006829/0.1653, allocations: 390.5 kB / 0.6807 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.1653, allocations: 7.953 kB / 0.6807 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.1653, allocations: 7.984 kB / 0.6807 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-05/0.1654, allocations: 28.31 kB / 0.6807 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006729/0.166, allocations: 344.6 kB / 0.681 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/0.1681, allocations: 1.729 MB / 0.6827 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006886/0.1688, allocations: 313.1 kB / 0.683 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.1691, allocations: 141.6 kB / 0.6832 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.1693, allocations: 85.11 kB / 0.6832 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.1693, allocations: 42.5 kB / 0.6833 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.1693, allocations: 4 kB / 0.6833 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21): time 0.001441/0.1707, allocations: 0.5948 MB / 0.6839 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.1708, allocations: 81.3 kB / 0.6839 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.1711, allocations: 223.7 kB / 0.6842 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.1711, allocations: 33.64 kB / 0.6842 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.1713, allocations: 160.2 kB / 0.6843 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.998e-05/0.1713, allocations: 75.31 kB / 0.6844 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.1714, allocations: 65.92 kB / 0.6845 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.1716, allocations: 326.8 kB / 0.6848 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.1719, allocations: 145.9 kB / 0.6849 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.1723, allocations: 223.3 kB / 0.6851 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000613/0.1729, allocations: 371.8 kB / 0.6855 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.1729, allocations: 4 kB / 0.6855 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008637/0.1738, allocations: 431.8 kB / 0.6859 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1738, allocations: 4.344 kB / 0.6859 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1738, allocations: 11.94 kB / 0.6859 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000237/0.174, allocations: 44.81 kB / 0.686 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.1743, allocations: 71.88 kB / 0.686 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/0.1759, allocations: 1.612 MB / 0.6876 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.1762, allocations: 39.92 kB / 0.6877 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.1762, allocations: 8 kB / 0.6877 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003614/0.1766, allocations: 244 kB / 0.6879 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003319/0.1769, allocations: 211.1 kB / 0.6881 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005787/0.1775, allocations: 357.7 kB / 0.6884 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.1775, allocations: 7.938 kB / 0.6884 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0008255/0.1783, allocations: 422.1 kB / 0.6888 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.866e-06/0.1783, allocations: 4 kB / 0.6888 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1783, allocations: 4 kB / 0.6889 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001323/0.1785, allocations: 40.81 kB / 0.6889 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.1788, allocations: 71.89 kB / 0.689 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.1802, allocations: 1.619 MB / 0.6905 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.1805, allocations: 35.97 kB / 0.6906 GB, free: 468 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.1805, allocations: 12 kB / 0.6906 GB, free: 456 kB / 0.5137 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.0001442/0.1806, allocations: 192.2 kB / 0.6908 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.971e-05/0.1807, allocations: 27.94 kB / 0.6908 GB, free: 228 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007666/0.1815, allocations: 361.4 kB / 0.6911 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1815, allocations: 4 kB / 0.6911 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1815, allocations: 0 / 0.6911 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1815, allocations: 3.984 kB / 0.6911 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.183, allocations: 0.9587 MB / 0.6921 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.183, allocations: 0 / 0.6921 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.1832, allocations: 59.83 kB / 0.6921 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001219/0.1833, allocations: 36.83 kB / 0.6922 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.1833, allocations: 12.22 kB / 0.6922 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.1846, allocations: 1.516 MB / 0.6937 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.1846, allocations: 0 / 0.6937 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007108/0.1853, allocations: 0.5316 MB / 0.6942 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.1854, allocations: 117 kB / 0.6943 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.1854, allocations: 23.81 kB / 0.6943 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.1857, allocations: 23.97 kB / 0.6943 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.1858, allocations: 23.92 kB / 0.6944 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.1858, allocations: 8 kB / 0.6944 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002172/0.186, allocations: 166.8 kB / 0.6945 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.186, allocations: 0 / 0.6945 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005897/0.1866, allocations: 108 kB / 0.6946 GB, free: 12 MB / 0.5294 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 (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 Backend phase and start with SimCode phase: time 0.0001768/0.1868, allocations: 115.3 kB / 0.6947 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001376/0.1882, allocations: 0.7219 MB / 0.6955 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1882, allocations: 3.938 kB / 0.6955 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003936/0.1885, allocations: 266.4 kB / 0.6957 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.189, allocations: 38.67 kB / 0.6957 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009622/0.19, allocations: 0.5627 MB / 0.6963 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.1904, allocations: 0.7717 MB / 0.6971 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002736/0.1906, allocations: 93.86 kB / 0.6971 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.5e-05/0.1907, allocations: 19.44 kB / 0.6972 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.1907, allocations: 0 / 0.6972 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of Templates: time 0.007545/0.1983, allocations: 3.551 MB / 0.7006 GB, free: 5.754 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile [Timeout 660] (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) [Timeout 480]