Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.3/1.3, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000909/0.0009089, allocations: 169.9 kB / 327.5 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.4 MB / 0.5785 GB, free: 20.46 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007011/0.0007013, allocations: 96.47 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 12.53 kB / 0.7974 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1722, allocations: 106.3 MB / 0.9012 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5495/0.7217, allocations: 162 MB / 1.059 GB, free: 154.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.722, allocations: 105.5 kB / 1.06 GB, free: 154.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04556/0.7676, allocations: 19.37 MB / 1.078 GB, free: 150.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.985e-06/0.7676, allocations: 7.938 kB / 1.078 GB, free: 150.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.068e-05/0.7676, allocations: 6.531 kB / 1.078 GB, free: 150.6 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.001065/0.7687, allocations: 0.5645 MB / 1.079 GB, free: 150.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.7687, allocations: 9.938 kB / 1.079 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009619/0.7697, allocations: 108 kB / 1.079 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005049/0.7702, allocations: 293 kB / 1.079 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.7703, allocations: 21.67 kB / 1.079 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.549e-05/0.7704, allocations: 25.72 kB / 1.079 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006421/0.771, allocations: 427.8 kB / 1.08 GB, free: 149.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.771, allocations: 4.125 kB / 1.08 GB, free: 149.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.7711, allocations: 19.83 kB / 1.08 GB, free: 149.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-05/0.7711, allocations: 27.67 kB / 1.08 GB, free: 149.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006808/0.7718, allocations: 348 kB / 1.08 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002347/0.7742, allocations: 2.208 MB / 1.082 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004444/0.7746, allocations: 257.9 kB / 1.083 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.7749, allocations: 162.8 kB / 1.083 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.7749, allocations: 3.906 kB / 1.083 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.7749, allocations: 34.56 kB / 1.083 GB, free: 147.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 2.564e-06/0.7749, allocations: 0 / 1.083 GB, free: 147.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.001809/0.7767, allocations: 1.057 MB / 1.084 GB, free: 147 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.7768, allocations: 58.06 kB / 1.084 GB, free: 147 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.7771, allocations: 250 kB / 1.084 GB, free: 146.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.7771, allocations: 35.2 kB / 1.084 GB, free: 146.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.204e-05/0.7772, allocations: 184.4 kB / 1.084 GB, free: 146.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.624e-05/0.7773, allocations: 85.25 kB / 1.084 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/0.7773, allocations: 7.562 kB / 1.084 GB, free: 146.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.484e-05/0.7774, allocations: 334.1 kB / 1.085 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.7776, allocations: 152.4 kB / 1.085 GB, free: 146.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.7778, allocations: 233.5 kB / 1.085 GB, free: 146.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005824/0.7784, allocations: 403.1 kB / 1.086 GB, free: 146 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.7785, allocations: 1.031 kB / 1.086 GB, free: 146 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001289/0.7797, allocations: 0.5742 MB / 1.086 GB, free: 145.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.7798, allocations: 10.14 kB / 1.086 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.7798, allocations: 2.688 kB / 1.086 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007135/0.7805, allocations: 178.8 kB / 1.086 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.7809, allocations: 60.78 kB / 1.086 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/0.7832, allocations: 2.287 MB / 1.089 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.7835, allocations: 15.83 kB / 1.089 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.7835, allocations: 15.81 kB / 1.089 GB, free: 144.2 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.0001931/0.7837, allocations: 161.5 kB / 1.089 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.7838, allocations: 27.47 kB / 1.089 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004414/0.7843, allocations: 361 kB / 1.089 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.7843, allocations: 3.875 kB / 1.089 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.7843, allocations: 3.938 kB / 1.089 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.7843, allocations: 3.984 kB / 1.089 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008839/0.7852, allocations: 0.8019 MB / 1.09 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7852, allocations: 3.812 kB / 1.09 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003463/0.7855, allocations: 70.41 kB / 1.09 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.7856, allocations: 7.25 kB / 1.09 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.7856, allocations: 15.7 kB / 1.09 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.7856, allocations: 0 / 1.09 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7856, allocations: 3.906 kB / 1.09 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005689/0.7862, allocations: 0.6046 MB / 1.091 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.7863, allocations: 132.5 kB / 1.091 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.7863, allocations: 11.97 kB / 1.091 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.7866, allocations: 15.95 kB / 1.091 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.7866, allocations: 11.89 kB / 1.091 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.7866, allocations: 7.938 kB / 1.091 GB, free: 142.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001348/0.7868, allocations: 179.5 kB / 1.091 GB, free: 142.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7868, allocations: 0 / 1.091 GB, free: 142.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004265/0.7872, allocations: 102.6 kB / 1.091 GB, free: 142.5 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.0001651/0.7874, allocations: 126.7 kB / 1.091 GB, free: 142.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007574/0.7881, allocations: 0.5257 MB / 1.092 GB, free: 142 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.7882, allocations: 3.938 kB / 1.092 GB, free: 142 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.7883, allocations: 147.1 kB / 1.092 GB, free: 142 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.7887, allocations: 52.06 kB / 1.092 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.7901, allocations: 0.9931 MB / 1.093 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.7903, allocations: 0.7968 MB / 1.094 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002154/0.7905, allocations: 71.98 kB / 1.094 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.69e-05/0.7906, allocations: 27.44 kB / 1.094 GB, free: 140.3 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.7906, allocations: 0 / 1.094 GB, free: 140.3 MB / 0.698 GB Notification: Performance of Templates: time 0.005834/0.7964, allocations: 3.69 MB / 1.097 GB, free: 136.7 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)