Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, 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.001529/0.001529, 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.372/1.372, 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.7915/0.7915, allocations: 128.4 MB / 426.1 MB, free: 7.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 72.97 kB / 0.5912 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1517, allocations: 83.25 MB / 0.6725 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.005559/0.1572, allocations: 3.588 MB / 0.676 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003415/0.1607, allocations: 1.917 MB / 0.6778 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.1609, allocations: 11.94 kB / 0.6778 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009245/0.1618, allocations: 235 kB / 0.6781 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006081/0.1624, allocations: 226.9 kB / 0.6783 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007148/0.1631, allocations: 255.3 kB / 0.6785 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006126/0.1637, allocations: 378.8 kB / 0.6789 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003804/0.1641, allocations: 177.8 kB / 0.6791 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003149/0.1644, allocations: 163.4 kB / 0.6792 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004477/0.1649, allocations: 195.3 kB / 0.6794 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.97e-05/0.1649, allocations: 24 kB / 0.6794 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005625/0.1655, allocations: 295.4 kB / 0.6797 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.1656, allocations: 103.7 kB / 0.6798 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.1658, allocations: 139.3 kB / 0.6799 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007962/0.1666, allocations: 0.4904 MB / 0.6804 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1666, allocations: 0 / 0.6804 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1666, allocations: 0 / 0.6804 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.442e-05/0.1666, allocations: 4 kB / 0.6804 GB, free: 11.91 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001437/0.1681, allocations: 0.6488 MB / 0.6811 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1681, allocations: 12.62 kB / 0.6811 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009816/0.1691, allocations: 116.6 kB / 0.6812 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.1695, allocations: 292.4 kB / 0.6815 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.1696, allocations: 12.81 kB / 0.6815 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.878e-05/0.1696, allocations: 20.38 kB / 0.6815 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008978/0.1705, allocations: 430.8 kB / 0.6819 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.1705, allocations: 0 / 0.6819 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.1706, allocations: 7.984 kB / 0.6819 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.862e-05/0.1706, allocations: 32.36 kB / 0.6819 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009625/0.1716, allocations: 396.8 kB / 0.6823 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.1737, allocations: 1.627 MB / 0.6839 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.175, allocations: 453 kB / 0.6843 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004555/0.1754, allocations: 185.6 kB / 0.6845 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/0.1756, allocations: 93.09 kB / 0.6846 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006099/0.1762, allocations: 267.2 kB / 0.6849 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=27): time 1.803e-06/0.1762, allocations: 4 kB / 0.6849 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28): time 0.002057/0.1783, allocations: 0.7711 MB / 0.6856 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.696e-05/0.1783, allocations: 81.11 kB / 0.6857 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.1786, allocations: 225 kB / 0.6859 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.1786, allocations: 29.7 kB / 0.6859 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.1787, allocations: 172.6 kB / 0.6861 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.1788, allocations: 99.16 kB / 0.6862 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.179, allocations: 69.44 kB / 0.6863 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.1791, allocations: 338.8 kB / 0.6866 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004431/0.1796, allocations: 177 kB / 0.6868 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004958/0.1801, allocations: 257 kB / 0.687 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009552/0.181, allocations: 470.4 kB / 0.6874 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.181, allocations: 0 / 0.6874 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001219/0.1822, allocations: 0.5475 MB / 0.688 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/0.1823, allocations: 33.7 kB / 0.688 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.1823, allocations: 4 kB / 0.688 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002493/0.1825, allocations: 45.09 kB / 0.6881 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004351/0.183, allocations: 91.86 kB / 0.6881 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/0.1846, allocations: 1.603 MB / 0.6897 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.185, allocations: 51.83 kB / 0.6898 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.185, allocations: 12 kB / 0.6898 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005308/0.1855, allocations: 284.4 kB / 0.69 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004693/0.186, allocations: 246.2 kB / 0.6903 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008719/0.1869, allocations: 440.8 kB / 0.6907 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.425e-06/0.1869, allocations: 0 / 0.6907 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001215/0.1881, allocations: 0.5366 MB / 0.6912 GB, free: 120 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.1881, allocations: 29.7 kB / 0.6913 GB, free: 84 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1881, allocations: 4 kB / 0.6913 GB, free: 80 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001519/0.1883, allocations: 44.81 kB / 0.6913 GB, free: 32 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.1887, allocations: 75.88 kB / 0.6914 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.1903, allocations: 1.632 MB / 0.693 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.1906, allocations: 43.84 kB / 0.693 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.1906, allocations: 16 kB / 0.693 GB, free: 14.12 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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.0002214/0.1909, allocations: 193.1 kB / 0.6932 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/0.1909, allocations: 27.81 kB / 0.6932 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.1921, allocations: 486 kB / 0.6937 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.1921, allocations: 4 kB / 0.6937 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.1921, allocations: 0 / 0.6937 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.1921, allocations: 3.984 kB / 0.6937 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007949/0.1929, allocations: 0.5662 MB / 0.6943 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1929, allocations: 0 / 0.6943 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003665/0.1933, allocations: 79.94 kB / 0.6943 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001247/0.1934, allocations: 36.83 kB / 0.6944 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.1934, allocations: 8 kB / 0.6944 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.1947, allocations: 1.527 MB / 0.6959 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1947, allocations: 0 / 0.6959 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.1957, allocations: 0.5421 MB / 0.6964 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.1959, allocations: 132.8 kB / 0.6965 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/0.196, allocations: 11.98 kB / 0.6965 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/0.1963, allocations: 39.95 kB / 0.6966 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.1964, allocations: 31.95 kB / 0.6966 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.1964, allocations: 12 kB / 0.6966 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002347/0.1966, allocations: 180.5 kB / 0.6968 GB, free: 10 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1966, allocations: 0 / 0.6968 GB, free: 10 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006545/0.1973, allocations: 132 kB / 0.6969 GB, free: 9.875 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000202/0.1975, allocations: 115.1 kB / 0.697 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001968/0.1995, allocations: 0.9489 MB / 0.6979 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1995, allocations: 7.938 kB / 0.698 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006114/0.2001, allocations: 319.3 kB / 0.6983 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.2005, allocations: 53.97 kB / 0.6983 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.2017, allocations: 0.6141 MB / 0.6989 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.2021, allocations: 0.7878 MB / 0.6997 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002963/0.2024, allocations: 102.3 kB / 0.6998 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.2025, allocations: 31.38 kB / 0.6998 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.2025, allocations: 0 / 0.6998 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of Templates: time 0.009519/0.212, allocations: 4.94 MB / 0.7046 GB, free: 1.852 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1) [Timeout 480]