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.365/1.365, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009276/0.0009277, allocations: 184.2 kB / 326.5 MB, free: 2.734 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.644/1.644, allocations: 205 MB / 0.5766 GB, free: 21.03 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.0008549/0.0008551, allocations: 83.98 kB / 0.6803 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002926/0.0002927, allocations: 10.19 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1764, allocations: 105.4 MB / 0.8967 GB, free: 68.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.002952/0.1794, allocations: 2.977 MB / 0.8997 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002293/0.1818, allocations: 1.878 MB / 0.9015 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.1819, allocations: 11.88 kB / 0.9015 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007048/0.1826, allocations: 263.1 kB / 0.9018 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.183, allocations: 199.2 kB / 0.9019 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005262/0.1835, allocations: 267.4 kB / 0.9022 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003697/0.1839, allocations: 0.561 MB / 0.9027 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003243/0.1842, allocations: 208.8 kB / 0.9029 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.1844, allocations: 143.4 kB / 0.9031 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.1847, allocations: 191.3 kB / 0.9033 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.1847, allocations: 12 kB / 0.9033 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003364/0.1851, allocations: 279.4 kB / 0.9035 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.598e-05/0.1852, allocations: 99.7 kB / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.479e-05/0.1853, allocations: 135.3 kB / 0.9038 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.1855, allocations: 355.1 kB / 0.9041 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1856, allocations: 3.984 kB / 0.9041 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1856, allocations: 4 kB / 0.9041 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.1856, allocations: 0 / 0.9041 GB, free: 60.67 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.0007914/0.1864, allocations: 0.5342 MB / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.1864, allocations: 8.031 kB / 0.9046 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006773/0.1871, allocations: 88.47 kB / 0.9047 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.1874, allocations: 276.5 kB / 0.905 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.1874, allocations: 24.94 kB / 0.905 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.1875, allocations: 40.39 kB / 0.9051 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000482/0.188, allocations: 441.1 kB / 0.9055 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.188, allocations: 0 / 0.9055 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.1881, allocations: 19.98 kB / 0.9055 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001208/0.1882, allocations: 40.52 kB / 0.9055 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004063/0.1886, allocations: 349.9 kB / 0.9059 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.1904, allocations: 2.203 MB / 0.908 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.1907, allocations: 270.4 kB / 0.9083 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.1909, allocations: 168.7 kB / 0.9084 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.1909, allocations: 4 kB / 0.9084 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.191, allocations: 38.5 kB / 0.9085 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.191, allocations: 0 / 0.9085 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.001416/0.1924, allocations: 1.056 MB / 0.9095 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.1924, allocations: 55.34 kB / 0.9096 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.1926, allocations: 249 kB / 0.9098 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.1926, allocations: 29.7 kB / 0.9098 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.1927, allocations: 188 kB / 0.91 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.1928, allocations: 82.75 kB / 0.9101 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.1928, allocations: 37.7 kB / 0.9101 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.977e-05/0.1929, allocations: 338.8 kB / 0.9104 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.1931, allocations: 151.9 kB / 0.9106 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.1933, allocations: 229.6 kB / 0.9108 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.1937, allocations: 410.8 kB / 0.9112 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1937, allocations: 3.938 kB / 0.9112 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009064/0.1946, allocations: 0.5847 MB / 0.9118 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1946, allocations: 4 kB / 0.9118 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1946, allocations: 4 kB / 0.9118 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006233/0.1953, allocations: 188.9 kB / 0.912 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.1955, allocations: 59.89 kB / 0.912 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/0.1976, allocations: 2.294 MB / 0.9143 GB, free: 49.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.1979, allocations: 24.08 kB / 0.9143 GB, free: 49.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.1979, allocations: 12 kB / 0.9143 GB, free: 49.57 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.0001386/0.198, allocations: 169.8 kB / 0.9145 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-05/0.1981, allocations: 31.59 kB / 0.9145 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004269/0.1985, allocations: 351.5 kB / 0.9148 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.1985, allocations: 7.984 kB / 0.9148 GB, free: 49.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.1986, allocations: 0 / 0.9148 GB, free: 49.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1986, allocations: 4 kB / 0.9148 GB, free: 49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007832/0.1994, allocations: 0.8116 MB / 0.9156 GB, free: 48.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1994, allocations: 4 kB / 0.9156 GB, free: 48.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.1997, allocations: 71.88 kB / 0.9157 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.1997, allocations: 4 kB / 0.9157 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.1998, allocations: 4 kB / 0.9157 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1998, allocations: 4 kB / 0.9157 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1998, allocations: 0 / 0.9157 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005509/0.2003, allocations: 0.6258 MB / 0.9163 GB, free: 47.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.521e-05/0.2004, allocations: 128.8 kB / 0.9164 GB, free: 47.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.2005, allocations: 4 kB / 0.9164 GB, free: 47.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.2007, allocations: 11.98 kB / 0.9165 GB, free: 47.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.2007, allocations: 15.98 kB / 0.9165 GB, free: 47.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.2008, allocations: 11.94 kB / 0.9165 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001203/0.2009, allocations: 184.5 kB / 0.9167 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2009, allocations: 0 / 0.9167 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003737/0.2013, allocations: 91.94 kB / 0.9167 GB, free: 46.95 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.0001444/0.2014, allocations: 107.2 kB / 0.9168 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000764/0.2022, allocations: 0.5338 MB / 0.9174 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2022, allocations: 0 / 0.9174 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.2024, allocations: 151.8 kB / 0.9175 GB, free: 46.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.2028, allocations: 41.25 kB / 0.9176 GB, free: 46.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.2041, allocations: 0.9869 MB / 0.9185 GB, free: 45.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.2043, allocations: 0.7873 MB / 0.9193 GB, free: 44.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.857e-05/0.2044, allocations: 31.42 kB / 0.9193 GB, free: 44.23 MB / 0.6042 GB Notification: Performance of SimCode: time 3.3e-07/0.2044, allocations: 0 / 0.9193 GB, free: 44.23 MB / 0.6042 GB Notification: Performance of Templates: time 0.00512/0.2095, allocations: 4.399 MB / 0.9236 GB, free: 39.84 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)