Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.41/1.41, allocations: 252 MB / 268 MB, free: 10.86 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.0009287/0.0009287, allocations: 180.8 kB / 327.6 MB, free: 2.094 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.691/1.691, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0007623/0.0007621, allocations: 90.34 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003315, allocations: 10.09 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1742, allocations: 106.3 MB / 0.9015 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003024/0.1773, allocations: 2.944 MB / 0.9043 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002267/0.1796, allocations: 1.847 MB / 0.9061 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.1797, allocations: 4 kB / 0.9061 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.1799, allocations: 39.64 kB / 0.9062 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003965/0.1803, allocations: 199.2 kB / 0.9064 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005543/0.1808, allocations: 263.5 kB / 0.9066 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003726/0.1812, allocations: 0.5649 MB / 0.9072 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006166/0.1818, allocations: 467.2 kB / 0.9076 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.182, allocations: 131.5 kB / 0.9077 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/0.1823, allocations: 195.3 kB / 0.9079 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.1823, allocations: 12 kB / 0.9079 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003351/0.1827, allocations: 283.4 kB / 0.9082 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.504e-05/0.1828, allocations: 107.8 kB / 0.9083 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.1829, allocations: 161 kB / 0.9085 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.1832, allocations: 355.4 kB / 0.9088 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1832, allocations: 0 / 0.9088 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1832, allocations: 3.938 kB / 0.9088 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.1832, allocations: 0 / 0.9088 GB, free: 55.86 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008145/0.184, allocations: 0.5303 MB / 0.9093 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.1841, allocations: 15.97 kB / 0.9093 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006757/0.1848, allocations: 96.44 kB / 0.9094 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.185, allocations: 268.5 kB / 0.9097 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1851, allocations: 28.92 kB / 0.9097 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.1852, allocations: 40.39 kB / 0.9098 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.1857, allocations: 441.1 kB / 0.9102 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.1857, allocations: 7.922 kB / 0.9102 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.1857, allocations: 12 kB / 0.9102 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001341/0.1859, allocations: 36.53 kB / 0.9102 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004624/0.1864, allocations: 349.9 kB / 0.9106 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.1882, allocations: 2.206 MB / 0.9127 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.1886, allocations: 272.3 kB / 0.913 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.1888, allocations: 156.8 kB / 0.9131 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1888, allocations: 4 kB / 0.9131 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.1888, allocations: 34.56 kB / 0.9132 GB, free: 51.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 1.864e-06/0.1888, allocations: 0 / 0.9132 GB, free: 51.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.001451/0.1903, allocations: 1.06 MB / 0.9142 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.1903, allocations: 51.41 kB / 0.9142 GB, free: 49.87 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1905, allocations: 245 kB / 0.9145 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.1906, allocations: 29.7 kB / 0.9145 GB, free: 49.58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.419e-05/0.1906, allocations: 195.9 kB / 0.9147 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.1907, allocations: 78.81 kB / 0.9148 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/0.1907, allocations: 8 kB / 0.9148 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.285e-05/0.1908, allocations: 334.8 kB / 0.9151 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.191, allocations: 155.8 kB / 0.9152 GB, free: 48.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.1912, allocations: 237.6 kB / 0.9155 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/0.1916, allocations: 406.8 kB / 0.9159 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1917, allocations: 7.938 kB / 0.9159 GB, free: 48.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009205/0.1926, allocations: 0.5807 MB / 0.9164 GB, free: 47.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1926, allocations: 8 kB / 0.9164 GB, free: 47.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1926, allocations: 4 kB / 0.9164 GB, free: 47.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006151/0.1932, allocations: 188.9 kB / 0.9166 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.1935, allocations: 63.89 kB / 0.9167 GB, free: 47.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/0.1956, allocations: 2.303 MB / 0.9189 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.1959, allocations: 15.98 kB / 0.919 GB, free: 44.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.1959, allocations: 16 kB / 0.919 GB, free: 44.79 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.1961, allocations: 161.7 kB / 0.9191 GB, free: 44.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.1961, allocations: 31.64 kB / 0.9192 GB, free: 44.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004401/0.1966, allocations: 363.5 kB / 0.9195 GB, free: 44.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1966, allocations: 3.938 kB / 0.9195 GB, free: 44.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.1966, allocations: 0 / 0.9195 GB, free: 44.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1966, allocations: 4 kB / 0.9195 GB, free: 44.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008111/0.1974, allocations: 0.8156 MB / 0.9203 GB, free: 43.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1974, allocations: 0 / 0.9203 GB, free: 43.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.1978, allocations: 75.88 kB / 0.9204 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1978, allocations: 4.062 kB / 0.9204 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.1978, allocations: 8 kB / 0.9204 GB, free: 43.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.1979, allocations: 0 / 0.9204 GB, free: 43.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1979, allocations: 4 kB / 0.9204 GB, free: 43.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005763/0.1984, allocations: 0.6178 MB / 0.921 GB, free: 42.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.972e-05/0.1985, allocations: 128.8 kB / 0.9211 GB, free: 42.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.1986, allocations: 12 kB / 0.9211 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.1988, allocations: 11.98 kB / 0.9211 GB, free: 42.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.1989, allocations: 11.98 kB / 0.9212 GB, free: 42.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.1989, allocations: 7.984 kB / 0.9212 GB, free: 42.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001277/0.199, allocations: 180.5 kB / 0.9213 GB, free: 42.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.199, allocations: 0 / 0.9213 GB, free: 42.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003893/0.1994, allocations: 87.94 kB / 0.9214 GB, free: 42.18 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001351/0.1996, allocations: 111.2 kB / 0.9215 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007371/0.2003, allocations: 0.5295 MB / 0.922 GB, free: 41.51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2003, allocations: 0 / 0.922 GB, free: 41.51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.2005, allocations: 152.4 kB / 0.9222 GB, free: 41.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.2009, allocations: 48.53 kB / 0.9222 GB, free: 41.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.2022, allocations: 1.076 MB / 0.9233 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.2024, allocations: 0.7912 MB / 0.9241 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.948e-05/0.2025, allocations: 27.42 kB / 0.9241 GB, free: 39.36 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.2025, allocations: 7.938 kB / 0.9241 GB, free: 39.36 MB / 0.6042 GB Notification: Performance of Templates: time 0.005232/0.2078, allocations: 4.384 MB / 0.9284 GB, free: 34.98 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)