Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.594/1.594, allocations: 289.9 MB / 297.4 MB, free: 6.406 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.001116/0.001116, allocations: 192.8 kB / 366.7 MB, free: 1.676 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.571/1.571, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0008214/0.0008216, allocations: 92.27 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.875e-05/1.878e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7102/0.7102, allocations: 116.3 MB / 0.9733 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2314/0.9417, allocations: 168.5 MB / 1.138 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/0.9421, allocations: 95.94 kB / 1.138 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04644/0.9885, allocations: 19.17 MB / 1.157 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9886, allocations: 7.219 kB / 1.157 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.9886, allocations: 4 kB / 1.157 GB, free: 10.27 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.001028/0.9896, allocations: 0.5411 MB / 1.157 GB, free: 9.688 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.9897, allocations: 8.031 kB / 1.157 GB, free: 9.68 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009389/0.9906, allocations: 107.5 kB / 1.157 GB, free: 9.574 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005281/0.9912, allocations: 289.4 kB / 1.158 GB, free: 9.25 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.9912, allocations: 4 kB / 1.158 GB, free: 9.246 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.319e-05/0.9913, allocations: 16 kB / 1.158 GB, free: 9.23 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004176/0.9917, allocations: 257 kB / 1.158 GB, free: 8.98 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006132/0.9923, allocations: 392.2 kB / 1.158 GB, free: 8.559 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.9923, allocations: 0 / 1.158 GB, free: 8.559 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.9924, allocations: 0 / 1.158 GB, free: 8.559 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.27e-05/0.9924, allocations: 28.55 kB / 1.158 GB, free: 8.531 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.9949, allocations: 2.151 MB / 1.16 GB, free: 6.191 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/0.9953, allocations: 256.2 kB / 1.161 GB, free: 5.934 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.9955, allocations: 153.7 kB / 1.161 GB, free: 5.781 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.9955, allocations: 8.188 kB / 1.161 GB, free: 5.773 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.9956, allocations: 30.75 kB / 1.161 GB, free: 5.734 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.9956, allocations: 0 / 1.161 GB, free: 5.734 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.001219/0.9968, allocations: 0.7762 MB / 1.162 GB, free: 4.91 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.9969, allocations: 55.41 kB / 1.162 GB, free: 4.844 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.9971, allocations: 194.1 kB / 1.162 GB, free: 4.648 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.9971, allocations: 25.7 kB / 1.162 GB, free: 4.617 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.9972, allocations: 188.2 kB / 1.162 GB, free: 4.43 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.361e-05/0.9973, allocations: 86.75 kB / 1.162 GB, free: 4.344 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.819e-05/0.9973, allocations: 0 / 1.162 GB, free: 4.344 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.9974, allocations: 334.8 kB / 1.162 GB, free: 4.008 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.9977, allocations: 136 kB / 1.162 GB, free: 3.875 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.9979, allocations: 230.7 kB / 1.163 GB, free: 3.617 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.9982, allocations: 174.7 kB / 1.163 GB, free: 3.449 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.9982, allocations: 4 kB / 1.163 GB, free: 3.445 MB / 0.7605 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009982/0.9992, allocations: 0.5367 MB / 1.163 GB, free: 2.898 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.9993, allocations: 16.19 kB / 1.163 GB, free: 2.883 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.9993, allocations: 6.25 kB / 1.163 GB, free: 2.879 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005856/0.9999, allocations: 172.7 kB / 1.164 GB, free: 2.707 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/1, allocations: 63.89 kB / 1.164 GB, free: 2.645 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/1.003, allocations: 2.186 MB / 1.166 GB, free: 356 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/1.003, allocations: 15.97 kB / 1.166 GB, free: 340 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/1.003, allocations: 16 kB / 1.166 GB, free: 324 kB / 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.0001067/1.003, allocations: 116.9 kB / 1.166 GB, free: 200 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/1.003, allocations: 23.72 kB / 1.166 GB, free: 176 kB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005229/1.004, allocations: 324.3 kB / 1.166 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/1.004, allocations: 4 kB / 1.166 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/1.004, allocations: 0 / 1.166 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/1.004, allocations: 3.75 kB / 1.166 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009929/1.005, allocations: 0.7386 MB / 1.167 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/1.005, allocations: 4.062 kB / 1.167 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/1.005, allocations: 71.88 kB / 1.167 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-06/1.005, allocations: 4 kB / 1.167 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/1.005, allocations: 0 / 1.167 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/1.005, allocations: 7.984 kB / 1.167 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.005, allocations: 0 / 1.167 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006765/1.006, allocations: 0.6098 MB / 1.168 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/1.006, allocations: 124.8 kB / 1.168 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/1.006, allocations: 11.95 kB / 1.168 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/1.006, allocations: 7.984 kB / 1.168 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/1.006, allocations: 11.98 kB / 1.168 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/1.006, allocations: 10.94 kB / 1.168 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001415/1.006, allocations: 168.1 kB / 1.168 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.3e-07/1.006, allocations: 0 / 1.168 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004163/1.007, allocations: 84 kB / 1.168 GB, free: 13.9 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.0001853/1.007, allocations: 125.5 kB / 1.168 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007831/1.008, allocations: 497.8 kB / 1.169 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.008, allocations: 4.062 kB / 1.169 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/1.008, allocations: 139.8 kB / 1.169 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/1.008, allocations: 40.62 kB / 1.169 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/1.01, allocations: 0.687 MB / 1.17 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/1.01, allocations: 0.8068 MB / 1.17 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000216/1.01, allocations: 67.02 kB / 1.17 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.268e-05/1.01, allocations: 23.44 kB / 1.17 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/1.01, allocations: 0 / 1.17 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.007323/1.018, allocations: 3.452 MB / 1.174 GB, free: 8.113 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)