Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.001543/0.001543, allocations: 109.5 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.001511/0.001511, allocations: 202.6 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.388/1.388, allocations: 225.6 MB / 244.8 MB, free: 13.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8043/0.8043, allocations: 128.4 MB / 426.1 MB, free: 7.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 64.08 kB / 0.5912 GB, free: 21.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1502, allocations: 83.26 MB / 0.6725 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.004818/0.155, allocations: 3.054 MB / 0.6754 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002876/0.1579, allocations: 1.921 MB / 0.6773 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.561e-05/0.1579, allocations: 7.938 kB / 0.6773 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007927/0.1587, allocations: 239 kB / 0.6776 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000445/0.1592, allocations: 219 kB / 0.6778 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006108/0.1598, allocations: 259.2 kB / 0.678 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004453/0.1602, allocations: 386.8 kB / 0.6784 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003105/0.1606, allocations: 177.8 kB / 0.6786 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.1608, allocations: 159.4 kB / 0.6787 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.1611, allocations: 187.3 kB / 0.6789 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.312e-05/0.1611, allocations: 32 kB / 0.6789 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004078/0.1615, allocations: 295.4 kB / 0.6792 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.1616, allocations: 95.72 kB / 0.6793 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.1618, allocations: 147.2 kB / 0.6794 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005697/0.1624, allocations: 498.2 kB / 0.6799 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1624, allocations: 0 / 0.6799 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.71e-07/0.1624, allocations: 0 / 0.6799 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.1624, allocations: 0 / 0.6799 GB, free: 12.24 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.001142/0.1635, allocations: 0.652 MB / 0.6805 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.1635, allocations: 12.03 kB / 0.6805 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008957/0.1644, allocations: 120.6 kB / 0.6807 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.1649, allocations: 292.3 kB / 0.6809 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.1649, allocations: 20.8 kB / 0.681 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-05/0.1649, allocations: 24.38 kB / 0.681 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000966/0.1659, allocations: 422.8 kB / 0.6814 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.1659, allocations: 4 kB / 0.6814 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.166, allocations: 7.984 kB / 0.6814 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.587e-05/0.166, allocations: 28.36 kB / 0.6814 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009119/0.1669, allocations: 400.7 kB / 0.6818 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.169, allocations: 1.615 MB / 0.6834 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.1703, allocations: 457 kB / 0.6838 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004317/0.1707, allocations: 193.6 kB / 0.684 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.1709, allocations: 89.09 kB / 0.6841 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005691/0.1714, allocations: 275.2 kB / 0.6844 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=27): time 1.463e-06/0.1714, allocations: 0 / 0.6844 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28): time 0.001971/0.1734, allocations: 0.7561 MB / 0.6851 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.1735, allocations: 85.11 kB / 0.6852 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.1737, allocations: 221 kB / 0.6854 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.1738, allocations: 37.83 kB / 0.6854 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.1739, allocations: 176.6 kB / 0.6856 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.207e-05/0.174, allocations: 99.16 kB / 0.6857 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.1742, allocations: 65.44 kB / 0.6857 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1744, allocations: 338.8 kB / 0.6861 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000435/0.1748, allocations: 181 kB / 0.6862 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004694/0.1753, allocations: 249.1 kB / 0.6865 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009622/0.1762, allocations: 462.4 kB / 0.6869 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1762, allocations: 0 / 0.6869 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001274/0.1775, allocations: 0.5478 MB / 0.6875 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.109e-05/0.1775, allocations: 45.69 kB / 0.6875 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1776, allocations: 4 kB / 0.6875 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002146/0.1778, allocations: 36.83 kB / 0.6875 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.1782, allocations: 83.86 kB / 0.6876 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.1799, allocations: 1.612 MB / 0.6892 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.1802, allocations: 47.91 kB / 0.6892 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.1802, allocations: 23.92 kB / 0.6893 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005075/0.1808, allocations: 276.3 kB / 0.6895 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000451/0.1812, allocations: 238.3 kB / 0.6898 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008475/0.1821, allocations: 453.6 kB / 0.6902 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.1821, allocations: 0 / 0.6902 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001118/0.1832, allocations: 0.5229 MB / 0.6907 GB, free: 468 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.1832, allocations: 33.7 kB / 0.6907 GB, free: 428 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1832, allocations: 4 kB / 0.6907 GB, free: 424 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00014/0.1833, allocations: 45.09 kB / 0.6908 GB, free: 376 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.1837, allocations: 87.92 kB / 0.6909 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/0.1854, allocations: 1.619 MB / 0.6924 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003148/0.1857, allocations: 43.84 kB / 0.6925 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.1857, allocations: 15.98 kB / 0.6925 GB, free: 14.46 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.0001783/0.1859, allocations: 200.6 kB / 0.6927 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.186, allocations: 31.81 kB / 0.6927 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.1871, allocations: 477.9 kB / 0.6932 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.1871, allocations: 4 kB / 0.6932 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1871, allocations: 4 kB / 0.6932 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1871, allocations: 0 / 0.6932 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006948/0.1878, allocations: 0.5701 MB / 0.6937 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.1878, allocations: 4 kB / 0.6937 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004284/0.1882, allocations: 75.86 kB / 0.6938 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000122/0.1883, allocations: 36.83 kB / 0.6938 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.1884, allocations: 8 kB / 0.6939 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/0.1898, allocations: 1.535 MB / 0.6954 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1898, allocations: 0 / 0.6954 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009962/0.1908, allocations: 0.5421 MB / 0.6959 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.191, allocations: 132.8 kB / 0.696 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/0.191, allocations: 12 kB / 0.696 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/0.1913, allocations: 35.95 kB / 0.6961 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.248e-05/0.1914, allocations: 31.95 kB / 0.6961 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.1915, allocations: 8 kB / 0.6961 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002279/0.1917, allocations: 180.5 kB / 0.6963 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1917, allocations: 3.938 kB / 0.6963 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005696/0.1923, allocations: 132 kB / 0.6964 GB, free: 10.2 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.0001693/0.1924, allocations: 119.1 kB / 0.6965 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00205/0.1945, allocations: 0.944 MB / 0.6974 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1945, allocations: 4 kB / 0.6974 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005859/0.1951, allocations: 318.4 kB / 0.6977 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.1955, allocations: 52.28 kB / 0.6978 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.1967, allocations: 0.6153 MB / 0.6984 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.1971, allocations: 0.7878 MB / 0.6992 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002932/0.1974, allocations: 102.2 kB / 0.6993 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.1975, allocations: 31.42 kB / 0.6993 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of SimCode: time 2.71e-07/0.1975, allocations: 0 / 0.6993 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of Templates: time 0.009495/0.207, allocations: 4.937 MB / 0.7041 GB, free: 2.18 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1) [Timeout 480]