Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.553/2.553, allocations: 287.5 MB / 303.2 MB, free: 8.242 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.00138/0.00138, allocations: 177 kB / 371.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.187/2.187, allocations: 205.4 MB / 0.6305 GB, free: 10.53 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.0009174/0.0009171, allocations: 96.02 kB / 0.7438 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006478/0.000648, allocations: 14.97 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2066, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9128/1.119, allocations: 168.1 MB / 1.143 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004804/1.12, allocations: 102.4 kB / 1.144 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09105/1.211, allocations: 19.38 MB / 1.163 GB, free: 14.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.114e-06/1.211, allocations: 0 / 1.163 GB, free: 14.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.947e-05/1.211, allocations: 11.5 kB / 1.163 GB, free: 14.92 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.001328/1.212, allocations: 0.5552 MB / 1.163 GB, free: 14.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.213, allocations: 8.031 kB / 1.163 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001404/1.214, allocations: 115.9 kB / 1.163 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007235/1.215, allocations: 283.4 kB / 1.163 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/1.215, allocations: 23.23 kB / 1.163 GB, free: 13.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.726e-05/1.215, allocations: 29.97 kB / 1.164 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009863/1.216, allocations: 434.9 kB / 1.164 GB, free: 13.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/1.216, allocations: 4.125 kB / 1.164 GB, free: 13.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.063e-05/1.216, allocations: 17.23 kB / 1.164 GB, free: 13.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-05/1.216, allocations: 35.47 kB / 1.164 GB, free: 13.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008865/1.217, allocations: 345.2 kB / 1.164 GB, free: 13.24 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004048/1.221, allocations: 2.193 MB / 1.166 GB, free: 11.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007065/1.222, allocations: 267 kB / 1.167 GB, free: 10.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003674/1.222, allocations: 156.5 kB / 1.167 GB, free: 10.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/1.222, allocations: 7.984 kB / 1.167 GB, free: 10.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/1.222, allocations: 33.62 kB / 1.167 GB, free: 10.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 2.856e-06/1.222, allocations: 4 kB / 1.167 GB, free: 10.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.002904/1.225, allocations: 1.054 MB / 1.168 GB, free: 9.855 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/1.225, allocations: 51.41 kB / 1.168 GB, free: 9.793 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000385/1.226, allocations: 245.7 kB / 1.168 GB, free: 9.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/1.226, allocations: 29.52 kB / 1.168 GB, free: 9.559 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/1.226, allocations: 190.7 kB / 1.168 GB, free: 9.391 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/1.226, allocations: 90.98 kB / 1.169 GB, free: 9.312 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/1.226, allocations: 3.312 kB / 1.169 GB, free: 9.312 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002147/1.226, allocations: 333.2 kB / 1.169 GB, free: 8.988 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/1.227, allocations: 151.6 kB / 1.169 GB, free: 8.891 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/1.227, allocations: 235.2 kB / 1.169 GB, free: 8.684 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008585/1.228, allocations: 399.3 kB / 1.17 GB, free: 8.391 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.228, allocations: 0 / 1.17 GB, free: 8.391 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001817/1.23, allocations: 0.582 MB / 1.17 GB, free: 7.949 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/1.23, allocations: 5.719 kB / 1.17 GB, free: 7.945 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.23, allocations: 4 kB / 1.17 GB, free: 7.941 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/1.231, allocations: 184.6 kB / 1.17 GB, free: 7.789 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005378/1.232, allocations: 63.89 kB / 1.17 GB, free: 7.727 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004124/1.236, allocations: 2.282 MB / 1.173 GB, free: 5.684 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005365/1.236, allocations: 18.73 kB / 1.173 GB, free: 5.672 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/1.236, allocations: 15.94 kB / 1.173 GB, free: 5.656 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.0002843/1.237, allocations: 161.5 kB / 1.173 GB, free: 5.512 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.204e-05/1.237, allocations: 23.72 kB / 1.173 GB, free: 5.488 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008777/1.238, allocations: 366.5 kB / 1.173 GB, free: 5.238 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/1.238, allocations: 4 kB / 1.173 GB, free: 5.234 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.238, allocations: 3.938 kB / 1.173 GB, free: 5.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/1.238, allocations: 0 / 1.173 GB, free: 5.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/1.239, allocations: 0.807 MB / 1.174 GB, free: 4.535 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/1.239, allocations: 4 kB / 1.174 GB, free: 4.531 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007551/1.24, allocations: 71.88 kB / 1.174 GB, free: 4.461 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/1.24, allocations: 8 kB / 1.174 GB, free: 4.453 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/1.24, allocations: 7.188 kB / 1.174 GB, free: 4.449 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/1.24, allocations: 4 kB / 1.174 GB, free: 4.445 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.24, allocations: 0 / 1.174 GB, free: 4.445 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/1.242, allocations: 0.6105 MB / 1.175 GB, free: 3.973 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/1.242, allocations: 127.1 kB / 1.175 GB, free: 3.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.842e-05/1.242, allocations: 11.25 kB / 1.175 GB, free: 3.832 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/1.242, allocations: 15.61 kB / 1.175 GB, free: 3.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/1.242, allocations: 7.984 kB / 1.175 GB, free: 3.812 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/1.242, allocations: 11.56 kB / 1.175 GB, free: 3.805 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002747/1.243, allocations: 176.7 kB / 1.175 GB, free: 3.656 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.91e-07/1.243, allocations: 0 / 1.175 GB, free: 3.656 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006614/1.243, allocations: 106.6 kB / 1.175 GB, free: 3.562 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.0002316/1.244, allocations: 130.6 kB / 1.175 GB, free: 3.426 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001443/1.245, allocations: 0.5258 MB / 1.176 GB, free: 3.008 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/1.245, allocations: 0 / 1.176 GB, free: 3.008 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003601/1.245, allocations: 153.1 kB / 1.176 GB, free: 2.902 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007468/1.246, allocations: 54.06 kB / 1.176 GB, free: 2.863 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/1.249, allocations: 1.005 MB / 1.177 GB, free: 1.887 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/1.249, allocations: 0.7865 MB / 1.178 GB, free: 1.082 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000437/1.25, allocations: 78.91 kB / 1.178 GB, free: 1.008 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/1.25, allocations: 26.98 kB / 1.178 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of SimCode: time 1.032e-06/1.25, allocations: 0 / 1.178 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of Templates: time 0.01191/1.262, allocations: 3.657 MB / 1.181 GB, free: 13.36 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)