Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.959/1.959, allocations: 288.3 MB / 303.2 MB, free: 8.227 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.001559/0.001559, allocations: 174 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.589/1.589, allocations: 205.4 MB / 0.6306 GB, free: 10 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.001032/0.001032, allocations: 101.3 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003788, allocations: 15.81 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2367, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8266/1.063, allocations: 168.3 MB / 1.144 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003507/1.064, allocations: 98.34 kB / 1.144 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0442/1.108, allocations: 19.35 MB / 1.163 GB, free: 13.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.731e-06/1.108, allocations: 0 / 1.163 GB, free: 13.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.725e-05/1.108, allocations: 15.92 kB / 1.163 GB, free: 13.7 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001404/1.109, allocations: 0.5615 MB / 1.163 GB, free: 13.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/1.11, allocations: 8.031 kB / 1.163 GB, free: 13.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/1.111, allocations: 111.4 kB / 1.163 GB, free: 13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006733/1.111, allocations: 292.6 kB / 1.164 GB, free: 12.69 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/1.111, allocations: 15.56 kB / 1.164 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.56e-05/1.112, allocations: 30.58 kB / 1.164 GB, free: 12.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007801/1.112, allocations: 431.8 kB / 1.164 GB, free: 12.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/1.112, allocations: 11.92 kB / 1.164 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.387e-05/1.112, allocations: 18.61 kB / 1.164 GB, free: 12.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.643e-05/1.112, allocations: 28.42 kB / 1.164 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005917/1.113, allocations: 346.4 kB / 1.165 GB, free: 12.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002877/1.116, allocations: 2.2 MB / 1.167 GB, free: 9.855 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/1.116, allocations: 263.8 kB / 1.167 GB, free: 9.676 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/1.116, allocations: 4.188 kB / 1.167 GB, free: 9.672 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/1.116, allocations: 30.75 kB / 1.167 GB, free: 9.633 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 2.465e-06/1.116, allocations: 0 / 1.167 GB, free: 9.633 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.002051/1.119, allocations: 1.056 MB / 1.168 GB, free: 8.742 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/1.119, allocations: 55.41 kB / 1.168 GB, free: 8.676 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/1.119, allocations: 219.2 kB / 1.168 GB, free: 8.492 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/1.119, allocations: 31.95 kB / 1.168 GB, free: 8.461 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/1.119, allocations: 185.2 kB / 1.169 GB, free: 8.297 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.392e-05/1.119, allocations: 90.98 kB / 1.169 GB, free: 8.219 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/1.119, allocations: 10.19 kB / 1.169 GB, free: 8.215 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.119, allocations: 341.5 kB / 1.169 GB, free: 7.883 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/1.12, allocations: 144.8 kB / 1.169 GB, free: 7.789 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/1.12, allocations: 227.3 kB / 1.169 GB, free: 7.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/1.12, allocations: 196.9 kB / 1.169 GB, free: 7.469 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/1.12, allocations: 0 / 1.169 GB, free: 7.469 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001123/1.121, allocations: 0.5704 MB / 1.17 GB, free: 7.039 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/1.121, allocations: 7.984 kB / 1.17 GB, free: 7.031 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/1.121, allocations: 4 kB / 1.17 GB, free: 7.027 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007216/1.122, allocations: 184.4 kB / 1.17 GB, free: 6.875 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/1.122, allocations: 59.91 kB / 1.17 GB, free: 6.816 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00326/1.126, allocations: 2.346 MB / 1.173 GB, free: 4.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/1.126, allocations: 19.08 kB / 1.173 GB, free: 4.719 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/1.126, allocations: 12 kB / 1.173 GB, free: 4.707 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): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002655/1.126, allocations: 166.5 kB / 1.173 GB, free: 4.559 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-05/1.126, allocations: 23.72 kB / 1.173 GB, free: 4.535 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006555/1.127, allocations: 362.2 kB / 1.173 GB, free: 4.281 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/1.127, allocations: 4 kB / 1.173 GB, free: 4.277 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.127, allocations: 3.953 kB / 1.173 GB, free: 4.273 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/1.127, allocations: 0 / 1.173 GB, free: 4.273 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/1.129, allocations: 0.8009 MB / 1.174 GB, free: 3.578 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.129, allocations: 0 / 1.174 GB, free: 3.578 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004543/1.129, allocations: 75.31 kB / 1.174 GB, free: 3.508 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/1.129, allocations: 4.062 kB / 1.174 GB, free: 3.504 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/1.129, allocations: 15.58 kB / 1.174 GB, free: 3.492 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.129, allocations: 0 / 1.174 GB, free: 3.492 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.129, allocations: 3.938 kB / 1.174 GB, free: 3.488 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008206/1.13, allocations: 0.6369 MB / 1.175 GB, free: 2.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/1.13, allocations: 131.8 kB / 1.175 GB, free: 2.844 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/1.13, allocations: 6.938 kB / 1.175 GB, free: 2.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/1.13, allocations: 10.92 kB / 1.175 GB, free: 2.832 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/1.13, allocations: 18.59 kB / 1.175 GB, free: 2.816 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/1.131, allocations: 7.312 kB / 1.175 GB, free: 2.812 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001839/1.131, allocations: 177.3 kB / 1.175 GB, free: 2.664 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.131, allocations: 3.938 kB / 1.175 GB, free: 2.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004833/1.131, allocations: 97.69 kB / 1.175 GB, free: 2.574 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000229/1.131, allocations: 130.2 kB / 1.175 GB, free: 2.441 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009152/1.132, allocations: 0.527 MB / 1.176 GB, free: 2.023 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.132, allocations: 0.625 kB / 1.176 GB, free: 2.023 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/1.133, allocations: 150.5 kB / 1.176 GB, free: 1.918 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/1.133, allocations: 47.91 kB / 1.176 GB, free: 1.883 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/1.135, allocations: 1 MB / 1.177 GB, free: 0.918 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/1.135, allocations: 0.8021 MB / 1.178 GB, free: 100 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002328/1.135, allocations: 78.91 kB / 1.178 GB, free: 20 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/1.135, allocations: 23.44 kB / 1.178 GB, free: 16 MB / 0.7136 GB Notification: Performance of SimCode: time 2.805e-06/1.135, allocations: 0 / 1.178 GB, free: 16 MB / 0.7136 GB Notification: Performance of Templates: time 0.007394/1.143, allocations: 3.65 MB / 1.181 GB, free: 12.38 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)