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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.696/1.696, allocations: 293 MB / 309 MB, free: 4.844 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.001/0.001, allocations: 186.2 kB / 378.7 MB, free: 1.035 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.579/1.579, allocations: 205.4 MB / 0.6383 GB, free: 8.234 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.0007328/0.0007328, allocations: 90.89 kB / 0.7527 GB, free: 62.67 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004487/0.0004489, allocations: 16 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2722, allocations: 116.4 MB / 0.9904 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8163/1.089, allocations: 169.4 MB / 1.156 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004087/1.089, allocations: 101.9 kB / 1.156 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04662/1.136, allocations: 19.4 MB / 1.175 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.417e-06/1.136, allocations: 0 / 1.175 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.636e-05/1.136, allocations: 8 kB / 1.175 GB, free: 8.637 MB / 0.7448 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.001553/1.137, allocations: 0.5627 MB / 1.175 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/1.137, allocations: 8.031 kB / 1.175 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/1.139, allocations: 112.4 kB / 1.176 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000644/1.139, allocations: 285.1 kB / 1.176 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/1.139, allocations: 20.92 kB / 1.176 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/1.139, allocations: 28.28 kB / 1.176 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007955/1.14, allocations: 437.7 kB / 1.176 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/1.14, allocations: 192 / 1.176 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.709e-05/1.14, allocations: 15.92 kB / 1.176 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.247e-05/1.14, allocations: 28.55 kB / 1.176 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006256/1.141, allocations: 349.9 kB / 1.177 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003152/1.144, allocations: 2.2 MB / 1.179 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/1.145, allocations: 270.4 kB / 1.179 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/1.145, allocations: 156.8 kB / 1.179 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/1.145, allocations: 4 kB / 1.179 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/1.145, allocations: 42.55 kB / 1.179 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 2.344e-06/1.145, allocations: 0 / 1.179 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.002029/1.147, allocations: 1.053 MB / 1.18 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/1.147, allocations: 51.41 kB / 1.18 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/1.147, allocations: 241 kB / 1.181 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/1.147, allocations: 29.7 kB / 1.181 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/1.148, allocations: 187.9 kB / 1.181 GB, free: 2.164 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.232e-05/1.148, allocations: 90.73 kB / 1.181 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/1.148, allocations: 8 kB / 1.181 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.148, allocations: 330.8 kB / 1.181 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/1.148, allocations: 151.9 kB / 1.181 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/1.148, allocations: 237.3 kB / 1.182 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005945/1.149, allocations: 407.9 kB / 1.182 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.149, allocations: 0 / 1.182 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001126/1.15, allocations: 0.5756 MB / 1.182 GB, free: 312 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/1.15, allocations: 4.312 kB / 1.183 GB, free: 308 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.15, allocations: 8 kB / 1.183 GB, free: 300 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006355/1.151, allocations: 188.6 kB / 1.183 GB, free: 108 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/1.151, allocations: 63.89 kB / 1.183 GB, free: 44 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/1.154, allocations: 2.278 MB / 1.185 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/1.154, allocations: 19.92 kB / 1.185 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/1.154, allocations: 19.98 kB / 1.185 GB, free: 13.6 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 () * 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.0002196/1.155, allocations: 160.5 kB / 1.185 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/1.155, allocations: 27.7 kB / 1.185 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005644/1.155, allocations: 358.8 kB / 1.186 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/1.155, allocations: 0 / 1.186 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/1.155, allocations: 3.938 kB / 1.186 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/1.155, allocations: 0 / 1.186 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/1.156, allocations: 0.8139 MB / 1.186 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.156, allocations: 4 kB / 1.186 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003788/1.157, allocations: 67.94 kB / 1.186 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/1.157, allocations: 4.688 kB / 1.186 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/1.157, allocations: 8 kB / 1.186 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-05/1.157, allocations: 7.938 kB / 1.186 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.157, allocations: 0 / 1.186 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008218/1.158, allocations: 0.6104 MB / 1.187 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/1.158, allocations: 128.8 kB / 1.187 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/1.158, allocations: 5.125 kB / 1.187 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/1.158, allocations: 15.98 kB / 1.187 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/1.158, allocations: 15.97 kB / 1.187 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/1.158, allocations: 8 kB / 1.187 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001884/1.158, allocations: 180.3 kB / 1.187 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.2e-07/1.158, allocations: 0 / 1.187 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004675/1.159, allocations: 107.9 kB / 1.187 GB, free: 10.98 MB / 0.7605 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.0002308/1.159, allocations: 119.2 kB / 1.188 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009688/1.16, allocations: 0.5311 MB / 1.188 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.16, allocations: 4.125 kB / 1.188 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/1.16, allocations: 147.9 kB / 1.188 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004682/1.161, allocations: 47.44 kB / 1.188 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/1.163, allocations: 1.005 MB / 1.189 GB, free: 9.102 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/1.163, allocations: 0.7912 MB / 1.19 GB, free: 8.285 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002565/1.163, allocations: 77.62 kB / 1.19 GB, free: 8.215 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/1.163, allocations: 23.44 kB / 1.19 GB, free: 8.191 MB / 0.7605 GB Notification: Performance of SimCode: time 6.32e-07/1.163, allocations: 3.938 kB / 1.19 GB, free: 8.188 MB / 0.7605 GB Notification: Performance of Templates: time 0.008865/1.172, allocations: 3.67 MB / 1.194 GB, free: 4.566 MB / 0.7605 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)