Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.846/1.846, allocations: 288.3 MB / 303.2 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 174.9 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 94.7 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004575/0.0004575, allocations: 10.97 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3056, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9532/1.259, allocations: 168.4 MB / 1.144 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004011/1.259, allocations: 93.94 kB / 1.144 GB, free: 12.02 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:43:5-43:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.04185/1.301, allocations: 18.27 MB / 1.162 GB, free: 15.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.874e-06/1.301, allocations: 0 / 1.162 GB, free: 15.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.953e-05/1.301, allocations: 4 kB / 1.162 GB, free: 15.16 MB / 0.698 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.001002/1.302, allocations: 0.5432 MB / 1.162 GB, free: 14.58 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/1.302, allocations: 12.02 kB / 1.162 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008691/1.303, allocations: 107.6 kB / 1.162 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/1.304, allocations: 266.6 kB / 1.163 GB, free: 14.19 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/1.304, allocations: 15.94 kB / 1.163 GB, free: 14.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.013e-05/1.304, allocations: 22.19 kB / 1.163 GB, free: 14.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005405/1.304, allocations: 349.2 kB / 1.163 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/1.304, allocations: 0 / 1.163 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/1.304, allocations: 11.8 kB / 1.163 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.582e-05/1.304, allocations: 24.25 kB / 1.163 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/1.305, allocations: 289.6 kB / 1.163 GB, free: 13.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/1.307, allocations: 1.743 MB / 1.165 GB, free: 11.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004535/1.308, allocations: 324.3 kB / 1.165 GB, free: 11.67 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/1.308, allocations: 92.28 kB / 1.165 GB, free: 11.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/1.308, allocations: 34.56 kB / 1.166 GB, free: 11.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/1.308, allocations: 4 kB / 1.166 GB, free: 11.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.002453/1.31, allocations: 0.9776 MB / 1.166 GB, free: 10.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/1.31, allocations: 85.28 kB / 1.167 GB, free: 10.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/1.311, allocations: 192.7 kB / 1.167 GB, free: 10.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/1.311, allocations: 29.27 kB / 1.167 GB, free: 10.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/1.311, allocations: 168.8 kB / 1.167 GB, free: 10.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.392e-05/1.311, allocations: 80.09 kB / 1.167 GB, free: 10.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/1.311, allocations: 2.188 kB / 1.167 GB, free: 10.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.311, allocations: 331.7 kB / 1.167 GB, free: 9.848 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/1.311, allocations: 142.1 kB / 1.167 GB, free: 9.754 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/1.311, allocations: 206.5 kB / 1.168 GB, free: 9.574 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/1.312, allocations: 160.6 kB / 1.168 GB, free: 9.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/1.312, allocations: 4 kB / 1.168 GB, free: 9.477 MB / 0.698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008116/1.312, allocations: 0.5045 MB / 1.168 GB, free: 9.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/1.312, allocations: 8 kB / 1.168 GB, free: 9.082 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.313, allocations: 0 / 1.168 GB, free: 9.082 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005267/1.313, allocations: 152.3 kB / 1.168 GB, free: 8.945 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/1.313, allocations: 58.97 kB / 1.169 GB, free: 8.891 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/1.316, allocations: 3.985 MB / 1.172 GB, free: 4.832 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/1.316, allocations: 23.41 kB / 1.172 GB, free: 4.812 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/1.316, allocations: 15.5 kB / 1.172 GB, free: 4.801 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000218/1.317, allocations: 171 kB / 1.173 GB, free: 4.645 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-05/1.317, allocations: 15.81 kB / 1.173 GB, free: 4.629 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008367/1.318, allocations: 479.4 kB / 1.173 GB, free: 4.281 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/1.318, allocations: 96 / 1.173 GB, free: 4.281 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/1.318, allocations: 7.938 kB / 1.173 GB, free: 4.273 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/1.318, allocations: 3.984 kB / 1.173 GB, free: 4.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/1.319, allocations: 1.004 MB / 1.174 GB, free: 3.383 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/1.319, allocations: 8.062 kB / 1.174 GB, free: 3.375 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/1.319, allocations: 38.84 kB / 1.174 GB, free: 3.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004233/1.32, allocations: 143.1 kB / 1.174 GB, free: 3.211 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/1.32, allocations: 11.06 kB / 1.174 GB, free: 3.203 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002756/1.323, allocations: 3.97 MB / 1.178 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.323, allocations: 0 / 1.178 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008589/1.323, allocations: 0.7305 MB / 1.179 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/1.324, allocations: 131.8 kB / 1.179 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/1.324, allocations: 7.062 kB / 1.179 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/1.324, allocations: 23.23 kB / 1.179 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/1.324, allocations: 27.72 kB / 1.179 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/1.324, allocations: 15.81 kB / 1.179 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001417/1.324, allocations: 149.4 kB / 1.179 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.324, allocations: 4 kB / 1.179 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005768/1.325, allocations: 102.6 kB / 1.179 GB, free: 14.02 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002516/1.325, allocations: 142.3 kB / 1.179 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008698/1.326, allocations: 0.5619 MB / 1.18 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.326, allocations: 0 / 1.18 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005383/1.326, allocations: 404 kB / 1.18 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/1.327, allocations: 27.98 kB / 1.18 GB, free: 13 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/1.328, allocations: 0.7312 MB / 1.181 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/1.328, allocations: 0.79 MB / 1.182 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001788/1.328, allocations: 58.23 kB / 1.182 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.218e-05/1.329, allocations: 19.44 kB / 1.182 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of SimCode: time 2.595e-06/1.329, allocations: 0 / 1.182 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of Templates: time 0.008105/1.337, allocations: 3.866 MB / 1.186 GB, free: 7.582 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)