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.665/1.665, allocations: 285.4 MB / 298 MB, free: 5.926 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.0009964/0.0009964, allocations: 172.9 kB / 366.4 MB, free: 2.086 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.597/1.597, allocations: 205.1 MB / 0.6248 GB, free: 7.703 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008377/0.0008379, allocations: 97.77 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.857e-05/3.892e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7713/0.7713, allocations: 115.3 MB / 0.9709 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2355/1.007, allocations: 168.2 MB / 1.135 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003554/1.007, allocations: 99.92 kB / 1.135 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04927/1.057, allocations: 19.23 MB / 1.154 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of FrontEnd: time 4.909e-06/1.057, allocations: 0 / 1.154 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.677e-05/1.057, allocations: 15.92 kB / 1.154 GB, free: 12.11 MB / 0.7605 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.001299/1.058, allocations: 0.545 MB / 1.155 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/1.058, allocations: 8.031 kB / 1.155 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/1.059, allocations: 103.5 kB / 1.155 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006339/1.06, allocations: 283.8 kB / 1.155 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/1.06, allocations: 20.5 kB / 1.155 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.865e-05/1.06, allocations: 31.89 kB / 1.155 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008264/1.061, allocations: 425.2 kB / 1.155 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/1.061, allocations: 0 / 1.155 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.752e-05/1.061, allocations: 12 kB / 1.155 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/1.061, allocations: 28.55 kB / 1.155 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005877/1.062, allocations: 346 kB / 1.156 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002685/1.064, allocations: 2.203 MB / 1.158 GB, free: 7.809 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004428/1.065, allocations: 266 kB / 1.158 GB, free: 7.543 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/1.065, allocations: 157.1 kB / 1.158 GB, free: 7.387 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/1.065, allocations: 8.188 kB / 1.158 GB, free: 7.379 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/1.065, allocations: 34.73 kB / 1.158 GB, free: 7.336 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 1.953e-06/1.065, allocations: 0 / 1.158 GB, free: 7.336 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.001399/1.066, allocations: 0.815 MB / 1.159 GB, free: 6.477 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/1.067, allocations: 55.41 kB / 1.159 GB, free: 6.41 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/1.067, allocations: 217 kB / 1.159 GB, free: 6.191 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/1.067, allocations: 33.7 kB / 1.159 GB, free: 6.152 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/1.067, allocations: 183.8 kB / 1.16 GB, free: 5.969 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.582e-05/1.067, allocations: 90.73 kB / 1.16 GB, free: 5.879 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/1.067, allocations: 4 kB / 1.16 GB, free: 5.875 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.067, allocations: 342.8 kB / 1.16 GB, free: 5.531 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/1.067, allocations: 140 kB / 1.16 GB, free: 5.395 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/1.068, allocations: 229.4 kB / 1.16 GB, free: 5.137 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/1.068, allocations: 189.3 kB / 1.161 GB, free: 4.957 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.068, allocations: 0 / 1.161 GB, free: 4.957 MB / 0.7605 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001112/1.069, allocations: 0.5681 MB / 1.161 GB, free: 4.379 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/1.069, allocations: 8 kB / 1.161 GB, free: 4.371 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.069, allocations: 3.938 kB / 1.161 GB, free: 4.367 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000623/1.07, allocations: 180.8 kB / 1.161 GB, free: 4.188 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/1.07, allocations: 59.89 kB / 1.161 GB, free: 4.129 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002874/1.073, allocations: 2.28 MB / 1.164 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/1.073, allocations: 15.98 kB / 1.164 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/1.073, allocations: 19.98 kB / 1.164 GB, free: 1.688 MB / 0.7605 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 () * 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.0001133/1.074, allocations: 121 kB / 1.164 GB, free: 1.562 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.183e-05/1.074, allocations: 23.72 kB / 1.164 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005716/1.074, allocations: 353.6 kB / 1.164 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/1.074, allocations: 4 kB / 1.164 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/1.074, allocations: 3.953 kB / 1.164 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/1.074, allocations: 3.984 kB / 1.164 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/1.075, allocations: 0.8005 MB / 1.165 GB, free: 316 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/1.075, allocations: 0 / 1.165 GB, free: 316 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/1.076, allocations: 77.88 kB / 1.165 GB, free: 240 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/1.076, allocations: 3.953 kB / 1.165 GB, free: 236 kB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/1.076, allocations: 8 kB / 1.165 GB, free: 228 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/1.076, allocations: 3.984 kB / 1.165 GB, free: 224 kB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.076, allocations: 7.938 kB / 1.165 GB, free: 216 kB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007674/1.077, allocations: 0.6138 MB / 1.166 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/1.077, allocations: 128.8 kB / 1.166 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/1.077, allocations: 8 kB / 1.166 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/1.077, allocations: 11.98 kB / 1.166 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/1.077, allocations: 19.92 kB / 1.166 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/1.077, allocations: 12 kB / 1.166 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001809/1.077, allocations: 177.2 kB / 1.166 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.8e-07/1.077, allocations: 3.938 kB / 1.166 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004847/1.078, allocations: 100 kB / 1.166 GB, free: 15.1 MB / 0.7761 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 () * 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.0002194/1.078, allocations: 123.2 kB / 1.166 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0009153/1.079, allocations: 0.5147 MB / 1.167 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.079, allocations: 4 kB / 1.167 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/1.079, allocations: 146.1 kB / 1.167 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/1.079, allocations: 48.67 kB / 1.167 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/1.081, allocations: 0.703 MB / 1.168 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/1.081, allocations: 0.7992 MB / 1.168 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002289/1.081, allocations: 74.91 kB / 1.168 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.167e-05/1.082, allocations: 19.44 kB / 1.168 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of SimCode: time 7.32e-07/1.082, allocations: 4 kB / 1.168 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of Templates: time 0.007469/1.089, allocations: 3.658 MB / 1.172 GB, free: 9.043 MB / 0.7761 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)