Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.363/1.363, allocations: 252 MB / 268 MB, free: 10.87 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.0009839/0.0009843, allocations: 182.1 kB / 327.6 MB, free: 2.109 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.562/1.562, allocations: 205.4 MB / 0.5786 GB, free: 20.18 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.0007627/0.0007624, allocations: 93.98 kB / 0.6833 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003065, allocations: 8.125 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1737, allocations: 106.3 MB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.002938/0.1767, allocations: 2.765 MB / 0.9041 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002484/0.1792, allocations: 1.937 MB / 0.906 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.1794, allocations: 4 kB / 0.906 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.1795, allocations: 35.7 kB / 0.9061 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004352/0.18, allocations: 183.2 kB / 0.9062 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.1804, allocations: 201.7 kB / 0.9064 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000309/0.1808, allocations: 458.7 kB / 0.9069 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004964/0.1813, allocations: 326 kB / 0.9072 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1814, allocations: 111.5 kB / 0.9073 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.1816, allocations: 139.5 kB / 0.9074 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.1817, allocations: 15.94 kB / 0.9074 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005198/0.1822, allocations: 463.1 kB / 0.9079 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.293e-05/0.1823, allocations: 75.78 kB / 0.908 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.1824, allocations: 137 kB / 0.9081 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.1827, allocations: 367.3 kB / 0.9084 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1828, allocations: 4 kB / 0.9084 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1828, allocations: 0 / 0.9084 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.1828, allocations: 0 / 0.9084 GB, free: 56.29 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006097/0.1834, allocations: 0.5147 MB / 0.9089 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.1834, allocations: 11.97 kB / 0.909 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007365/0.1842, allocations: 120.5 kB / 0.9091 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.1844, allocations: 261.9 kB / 0.9093 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1845, allocations: 16.81 kB / 0.9093 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.1845, allocations: 20.36 kB / 0.9094 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.1849, allocations: 353.2 kB / 0.9097 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1849, allocations: 0 / 0.9097 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.185, allocations: 12 kB / 0.9097 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.831e-05/0.185, allocations: 24.42 kB / 0.9097 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003622/0.1854, allocations: 289.5 kB / 0.91 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.187, allocations: 1.741 MB / 0.9117 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/0.1874, allocations: 318.1 kB / 0.912 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.1875, allocations: 113.6 kB / 0.9121 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.137e-05/0.1876, allocations: 89.09 kB / 0.9122 GB, free: 52.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.1877, allocations: 30.56 kB / 0.9122 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.1877, allocations: 0 / 0.9122 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.002157/0.1898, allocations: 0.9778 MB / 0.9132 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.1899, allocations: 85.05 kB / 0.9133 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.19, allocations: 216.3 kB / 0.9135 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1901, allocations: 33.73 kB / 0.9135 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.1901, allocations: 172.2 kB / 0.9137 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.1902, allocations: 82.83 kB / 0.9137 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.592e-05/0.1902, allocations: 4 kB / 0.9138 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.366e-05/0.1903, allocations: 330.8 kB / 0.9141 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.1905, allocations: 131.9 kB / 0.9142 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.1906, allocations: 213.2 kB / 0.9144 GB, free: 49.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.191, allocations: 368.1 kB / 0.9147 GB, free: 49.33 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.191, allocations: 0 / 0.9147 GB, free: 49.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000707/0.1917, allocations: 0.508 MB / 0.9152 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1918, allocations: 14.44 kB / 0.9153 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1918, allocations: 0 / 0.9153 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004556/0.1922, allocations: 151.6 kB / 0.9154 GB, free: 48.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.1925, allocations: 55.91 kB / 0.9155 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/0.1944, allocations: 3.969 MB / 0.9193 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.1946, allocations: 28.02 kB / 0.9194 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.1947, allocations: 15.94 kB / 0.9194 GB, free: 44.25 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.1948, allocations: 163.1 kB / 0.9195 GB, free: 44.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.1949, allocations: 19.72 kB / 0.9195 GB, free: 44.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007036/0.1956, allocations: 474.7 kB / 0.92 GB, free: 43.58 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1956, allocations: 4 kB / 0.92 GB, free: 43.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1956, allocations: 0 / 0.92 GB, free: 43.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1956, allocations: 7.922 kB / 0.92 GB, free: 43.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.1968, allocations: 1.004 MB / 0.921 GB, free: 42.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1969, allocations: 4 kB / 0.921 GB, free: 42.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.197, allocations: 35.91 kB / 0.921 GB, free: 42.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003727/0.1974, allocations: 155.2 kB / 0.9212 GB, free: 42.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.1974, allocations: 8.156 kB / 0.9212 GB, free: 42.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.1991, allocations: 3.95 MB / 0.925 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1992, allocations: 0 / 0.925 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006278/0.1998, allocations: 0.6255 MB / 0.9257 GB, free: 37.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.731e-05/0.1999, allocations: 128.8 kB / 0.9258 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.1999, allocations: 11.98 kB / 0.9258 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.2001, allocations: 15.98 kB / 0.9258 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.2002, allocations: 27.91 kB / 0.9258 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.2002, allocations: 8 kB / 0.9258 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001097/0.2003, allocations: 161.5 kB / 0.926 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2004, allocations: 0 / 0.926 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004682/0.2008, allocations: 91.98 kB / 0.9261 GB, free: 36.86 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001611/0.201, allocations: 135.1 kB / 0.9262 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000706/0.2017, allocations: 0.5674 MB / 0.9268 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2017, allocations: 0 / 0.9268 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003848/0.2021, allocations: 398.2 kB / 0.9271 GB, free: 35.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005216/0.2027, allocations: 47.83 kB / 0.9272 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008514/0.2035, allocations: 0.7946 MB / 0.928 GB, free: 34.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.2037, allocations: 0.7869 MB / 0.9287 GB, free: 34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.2038, allocations: 23.42 kB / 0.9288 GB, free: 33.98 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2038, allocations: 0 / 0.9288 GB, free: 33.98 MB / 0.6042 GB Notification: Performance of Templates: time 0.007374/0.2112, allocations: 7.585 MB / 0.9362 GB, free: 26.39 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)