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.713/1.713, allocations: 288.4 MB / 304.3 MB, free: 8.07 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.0009562/0.0009561, allocations: 181.9 kB / 372.9 MB, free: 10.18 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.601/1.601, allocations: 205.4 MB / 0.6317 GB, free: 9.977 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.0008983/0.0008981, allocations: 102.2 kB / 0.7451 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.0004671, allocations: 12.91 kB / 0.8681 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2622, allocations: 115.3 MB / 0.9807 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8454/1.108, allocations: 168.3 MB / 1.145 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003641/1.108, allocations: 98.47 kB / 1.145 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04146/1.15, allocations: 19.37 MB / 1.164 GB, free: 13.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.677e-06/1.15, allocations: 7.938 kB / 1.164 GB, free: 13.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.104e-05/1.15, allocations: 11.94 kB / 1.164 GB, free: 13.44 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.00103/1.151, allocations: 0.5654 MB / 1.165 GB, free: 12.85 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/1.151, allocations: 12.03 kB / 1.165 GB, free: 12.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009091/1.152, allocations: 108.4 kB / 1.165 GB, free: 12.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000514/1.152, allocations: 289.8 kB / 1.165 GB, free: 12.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/1.152, allocations: 19.23 kB / 1.165 GB, free: 12.42 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.56e-05/1.152, allocations: 33.97 kB / 1.165 GB, free: 12.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006179/1.153, allocations: 425.6 kB / 1.166 GB, free: 12.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/1.153, allocations: 4.188 kB / 1.166 GB, free: 12.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/1.153, allocations: 22.78 kB / 1.166 GB, free: 12.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-05/1.153, allocations: 24.17 kB / 1.166 GB, free: 12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000508/1.154, allocations: 352.6 kB / 1.166 GB, free: 11.76 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/1.156, allocations: 2.19 MB / 1.168 GB, free: 9.609 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/1.156, allocations: 274.9 kB / 1.168 GB, free: 9.418 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/1.157, allocations: 154.6 kB / 1.168 GB, free: 9.316 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/1.157, allocations: 4 kB / 1.168 GB, free: 9.312 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/1.157, allocations: 34.06 kB / 1.169 GB, free: 9.273 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 3.116e-06/1.157, allocations: 3.984 kB / 1.169 GB, free: 9.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.00176/1.159, allocations: 1.052 MB / 1.17 GB, free: 8.379 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/1.159, allocations: 59.39 kB / 1.17 GB, free: 8.309 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/1.159, allocations: 236.1 kB / 1.17 GB, free: 8.113 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/1.159, allocations: 33.33 kB / 1.17 GB, free: 8.078 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/1.159, allocations: 185.5 kB / 1.17 GB, free: 7.914 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.652e-05/1.159, allocations: 93.06 kB / 1.17 GB, free: 7.836 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.84e-05/1.159, allocations: 7.5 kB / 1.17 GB, free: 7.832 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.159, allocations: 333.5 kB / 1.17 GB, free: 7.508 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/1.159, allocations: 149.7 kB / 1.171 GB, free: 7.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/1.16, allocations: 240.3 kB / 1.171 GB, free: 7.199 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/1.16, allocations: 398.8 kB / 1.171 GB, free: 6.906 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/1.16, allocations: 4 kB / 1.171 GB, free: 6.902 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001018/1.161, allocations: 0.5738 MB / 1.172 GB, free: 6.469 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/1.161, allocations: 8 kB / 1.172 GB, free: 6.461 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.161, allocations: 4 kB / 1.172 GB, free: 6.457 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006268/1.162, allocations: 184.6 kB / 1.172 GB, free: 6.305 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/1.162, allocations: 66.27 kB / 1.172 GB, free: 6.242 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002657/1.165, allocations: 2.287 MB / 1.174 GB, free: 4.191 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/1.165, allocations: 18.98 kB / 1.174 GB, free: 4.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/1.165, allocations: 11.25 kB / 1.174 GB, free: 4.172 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.0001767/1.165, allocations: 167.2 kB / 1.174 GB, free: 4.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/1.165, allocations: 23.72 kB / 1.174 GB, free: 3.996 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005377/1.166, allocations: 356.2 kB / 1.175 GB, free: 3.758 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.166, allocations: 7.938 kB / 1.175 GB, free: 3.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/1.166, allocations: 8 kB / 1.175 GB, free: 3.742 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/1.166, allocations: 0 / 1.175 GB, free: 3.742 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/1.167, allocations: 0.802 MB / 1.176 GB, free: 3.047 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.167, allocations: 0 / 1.176 GB, free: 3.047 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/1.168, allocations: 71.88 kB / 1.176 GB, free: 2.977 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/1.168, allocations: 7.938 kB / 1.176 GB, free: 2.969 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/1.168, allocations: 7.625 kB / 1.176 GB, free: 2.965 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/1.168, allocations: 0 / 1.176 GB, free: 2.965 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.168, allocations: 4.062 kB / 1.176 GB, free: 2.961 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007173/1.168, allocations: 0.6062 MB / 1.176 GB, free: 2.496 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/1.169, allocations: 134.5 kB / 1.176 GB, free: 2.355 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/1.169, allocations: 7.5 kB / 1.176 GB, free: 2.352 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/1.169, allocations: 11.36 kB / 1.176 GB, free: 2.344 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/1.169, allocations: 23.42 kB / 1.176 GB, free: 2.324 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/1.169, allocations: 4 kB / 1.176 GB, free: 2.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001693/1.169, allocations: 182 kB / 1.177 GB, free: 2.168 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.169, allocations: 0 / 1.177 GB, free: 2.168 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000459/1.169, allocations: 106.2 kB / 1.177 GB, free: 2.078 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.0002158/1.17, allocations: 126.4 kB / 1.177 GB, free: 1.945 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008512/1.171, allocations: 0.5345 MB / 1.177 GB, free: 1.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.171, allocations: 0 / 1.177 GB, free: 1.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002373/1.171, allocations: 144 kB / 1.177 GB, free: 1.418 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/1.171, allocations: 47.83 kB / 1.178 GB, free: 1.387 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/1.173, allocations: 1.003 MB / 1.179 GB, free: 424 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/1.173, allocations: 0.7979 MB / 1.179 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002141/1.173, allocations: 70.91 kB / 1.179 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.575e-05/1.174, allocations: 27.42 kB / 1.179 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of SimCode: time 4.91e-07/1.174, allocations: 0 / 1.179 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of Templates: time 0.007267/1.181, allocations: 3.681 MB / 1.183 GB, free: 11.86 MB / 0.7136 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)