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.ParallelResistors.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.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.668/1.668, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001137/0.001137, allocations: 176.9 kB / 361.4 MB, free: 6.832 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.775/1.775, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0008434/0.0008434, allocations: 94.05 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.584e-05/1.585e-05, allocations: 0 / 0.8517 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7451/0.7451, allocations: 115.3 MB / 0.9644 GB, free: 78.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2211/0.9663, allocations: 153.3 MB / 1.114 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.9667, allocations: 97.45 kB / 1.114 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03838/1.005, allocations: 13.32 MB / 1.127 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.385e-06/1.005, allocations: 0 / 1.127 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.96e-05/1.005, allocations: 4 kB / 1.127 GB, free: 5.039 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009823/1.006, allocations: 471 kB / 1.128 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/1.006, allocations: 12.03 kB / 1.128 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009371/1.007, allocations: 84.69 kB / 1.128 GB, free: 4.441 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/1.008, allocations: 243.1 kB / 1.128 GB, free: 4.164 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/1.008, allocations: 4 kB / 1.128 GB, free: 4.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/1.008, allocations: 8 kB / 1.128 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004345/1.008, allocations: 175.9 kB / 1.128 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005377/1.009, allocations: 275 kB / 1.128 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/1.009, allocations: 3.984 kB / 1.128 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/1.009, allocations: 4 kB / 1.128 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.748e-05/1.009, allocations: 19.98 kB / 1.128 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/1.011, allocations: 1.461 MB / 1.13 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005505/1.012, allocations: 229.8 kB / 1.13 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/1.012, allocations: 117.7 kB / 1.13 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/1.012, allocations: 0 / 1.13 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/1.012, allocations: 38.5 kB / 1.13 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 2.134e-06/1.012, allocations: 6.812 kB / 1.13 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0006237/1.013, allocations: 216 kB / 1.13 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/1.013, allocations: 77.11 kB / 1.131 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/1.013, allocations: 150 kB / 1.131 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/1.013, allocations: 29.73 kB / 1.131 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.97e-05/1.013, allocations: 136.1 kB / 1.131 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.873e-05/1.013, allocations: 55.19 kB / 1.131 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/1.013, allocations: 0 / 1.131 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.013, allocations: 326.8 kB / 1.131 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/1.013, allocations: 87.97 kB / 1.131 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/1.014, allocations: 146.3 kB / 1.131 GB, free: 388 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/1.014, allocations: 106.1 kB / 1.132 GB, free: 284 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/1.014, allocations: 0 / 1.132 GB, free: 284 kB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005297/1.014, allocations: 269.3 kB / 1.132 GB, free: 8 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003648/1.015, allocations: 0.6955 MB / 1.132 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/1.015, allocations: 8 kB / 1.132 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/1.015, allocations: 4 kB / 1.132 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/1.015, allocations: 63.83 kB / 1.133 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/1.015, allocations: 4 kB / 1.133 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/1.016, allocations: 31.81 kB / 1.133 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/1.016, allocations: 8 kB / 1.133 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/1.016, allocations: 4.781 kB / 1.133 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004128/1.016, allocations: 194 kB / 1.133 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/1.016, allocations: 4 kB / 1.133 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.95e-06/1.016, allocations: 0 / 1.133 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/1.016, allocations: 47.97 kB / 1.133 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/1.016, allocations: 13.64 kB / 1.133 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/1.017, allocations: 25.42 kB / 1.133 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/1.017, allocations: 16 kB / 1.133 GB, free: 14.85 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 prepare postOptimizeDAE: time 0.0001225/1.017, allocations: 106.7 kB / 1.133 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.378e-05/1.017, allocations: 15.81 kB / 1.133 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004018/1.017, allocations: 239.4 kB / 1.133 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/1.017, allocations: 0 / 1.133 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.017, allocations: 0 / 1.133 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/1.017, allocations: 4 kB / 1.133 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007791/1.018, allocations: 0.597 MB / 1.134 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.018, allocations: 3.938 kB / 1.134 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/1.018, allocations: 43.95 kB / 1.134 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/1.018, allocations: 4 kB / 1.134 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/1.018, allocations: 6.938 kB / 1.134 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/1.018, allocations: 128 / 1.134 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.018, allocations: 8 kB / 1.134 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004713/1.019, allocations: 482.3 kB / 1.134 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/1.019, allocations: 112.8 kB / 1.134 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/1.019, allocations: 7.984 kB / 1.134 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/1.02, allocations: 15.98 kB / 1.134 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-05/1.02, allocations: 15.97 kB / 1.134 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/1.02, allocations: 11.94 kB / 1.134 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001438/1.02, allocations: 126.6 kB / 1.135 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.91e-07/1.02, allocations: 3.938 kB / 1.135 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007999/1.021, allocations: 75.84 kB / 1.135 GB, free: 12.86 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0001989/1.021, allocations: 111.2 kB / 1.135 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007542/1.022, allocations: 318.1 kB / 1.135 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/1.022, allocations: 0 / 1.135 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/1.022, allocations: 103.8 kB / 1.135 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/1.022, allocations: 33.8 kB / 1.135 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008628/1.023, allocations: 310.8 kB / 1.135 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/1.024, allocations: 0.7483 MB / 1.136 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003543/1.024, allocations: 83.56 kB / 1.136 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.713e-05/1.024, allocations: 15.44 kB / 1.136 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/1.024, allocations: 4 kB / 1.136 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of Templates: time 0.006646/1.031, allocations: 2.157 MB / 1.138 GB, free: 8.961 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)