Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.342/1.342, allocations: 252 MB / 267.9 MB, free: 10.91 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.000956/0.000956, allocations: 174.8 kB / 327.5 MB, free: 2.148 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.598/1.598, allocations: 205.4 MB / 0.5785 GB, free: 20.13 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.001306/0.001306, allocations: 99.52 kB / 0.6831 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003806, allocations: 16.62 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2006, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1821/0.3827, allocations: 155.2 MB / 1.053 GB, free: 4.293 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.3831, allocations: 95.94 kB / 1.053 GB, free: 4.199 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3735/0.7566, allocations: 17.78 MB / 1.07 GB, free: 151.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7566, allocations: 0 / 1.07 GB, free: 151.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.623e-05/0.7566, allocations: 7.203 kB / 1.07 GB, free: 151.4 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001183/0.7578, allocations: 0.632 MB / 1.071 GB, free: 150.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.7579, allocations: 9.906 kB / 1.071 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008927/0.7588, allocations: 106.5 kB / 1.071 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.7592, allocations: 288 kB / 1.071 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.7592, allocations: 16.12 kB / 1.071 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.812e-05/0.7593, allocations: 21.34 kB / 1.071 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008231/0.7601, allocations: 429.3 kB / 1.072 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.7601, allocations: 192 / 1.072 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.7602, allocations: 10.88 kB / 1.072 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.745e-05/0.7602, allocations: 28.17 kB / 1.072 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008755/0.7611, allocations: 412.9 kB / 1.072 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.7629, allocations: 1.655 MB / 1.074 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.764, allocations: 487.3 kB / 1.074 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.7644, allocations: 204.9 kB / 1.074 GB, free: 149.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.7646, allocations: 90.92 kB / 1.074 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005142/0.7651, allocations: 278.2 kB / 1.075 GB, free: 149.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 2.665e-06/0.7651, allocations: 0 / 1.075 GB, free: 149.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.001757/0.7669, allocations: 0.7828 MB / 1.075 GB, free: 149 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.7669, allocations: 85.62 kB / 1.076 GB, free: 148.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.7671, allocations: 217.8 kB / 1.076 GB, free: 148.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.7672, allocations: 31.67 kB / 1.076 GB, free: 148.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.7672, allocations: 172.9 kB / 1.076 GB, free: 148.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.061e-05/0.7673, allocations: 97.88 kB / 1.076 GB, free: 148.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/0.7673, allocations: 5.5 kB / 1.076 GB, free: 148.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.619e-05/0.7674, allocations: 342.7 kB / 1.076 GB, free: 148.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.7678, allocations: 176.9 kB / 1.077 GB, free: 148.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/0.7682, allocations: 263 kB / 1.077 GB, free: 148.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008577/0.769, allocations: 485 kB / 1.077 GB, free: 148 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7691, allocations: 1.219 kB / 1.077 GB, free: 148 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001031/0.7701, allocations: 0.562 MB / 1.078 GB, free: 147.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.592e-05/0.7702, allocations: 182.6 kB / 1.078 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.7702, allocations: 2.531 kB / 1.078 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002151/0.7704, allocations: 37.14 kB / 1.078 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.7708, allocations: 95.45 kB / 1.078 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.7718, allocations: 1.498 MB / 1.08 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.7722, allocations: 58.7 kB / 1.08 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.7722, allocations: 10.5 kB / 1.08 GB, free: 146.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.7722, allocations: 4.156 kB / 1.08 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009632/0.7732, allocations: 0.4929 MB / 1.08 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.7732, allocations: 2.312 kB / 1.08 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001163/0.7733, allocations: 48.19 kB / 1.08 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.7737, allocations: 92.44 kB / 1.08 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009321/0.7746, allocations: 1.486 MB / 1.082 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.7749, allocations: 51.05 kB / 1.082 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.775, allocations: 12.62 kB / 1.082 GB, free: 144.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002199/0.7752, allocations: 239.4 kB / 1.082 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.7752, allocations: 33.25 kB / 1.082 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.7763, allocations: 494 kB / 1.083 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.7763, allocations: 2.938 kB / 1.083 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.7763, allocations: 6.219 kB / 1.083 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.7764, allocations: 0 / 1.083 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005738/0.7769, allocations: 0.5646 MB / 1.083 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.777, allocations: 5.188 kB / 1.083 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003565/0.7773, allocations: 85.17 kB / 1.083 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/0.7774, allocations: 38.08 kB / 1.083 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.7775, allocations: 6.219 kB / 1.083 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007578/0.7782, allocations: 1.423 MB / 1.085 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.7783, allocations: 1.375 kB / 1.085 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008859/0.7791, allocations: 0.5628 MB / 1.085 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.7793, allocations: 132.9 kB / 1.085 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.7793, allocations: 6.219 kB / 1.085 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.7796, allocations: 48.03 kB / 1.085 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.844e-05/0.7797, allocations: 32.33 kB / 1.085 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.7798, allocations: 11.53 kB / 1.085 GB, free: 142.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000134/0.7799, allocations: 170.9 kB / 1.086 GB, free: 142.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7799, allocations: 0 / 1.086 GB, free: 142.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005887/0.7805, allocations: 142.3 kB / 1.086 GB, free: 142.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001738/0.7807, allocations: 123.2 kB / 1.086 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001613/0.7823, allocations: 1.018 MB / 1.087 GB, free: 141.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.7823, allocations: 5.438 kB / 1.087 GB, free: 141.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005646/0.7829, allocations: 341.3 kB / 1.087 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.7833, allocations: 37.45 kB / 1.087 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.7846, allocations: 0.752 MB / 1.088 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.7848, allocations: 0.7872 MB / 1.089 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003491/0.7852, allocations: 94.58 kB / 1.089 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.7853, allocations: 26.83 kB / 1.089 GB, free: 140.2 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/0.7853, allocations: 0 / 1.089 GB, free: 140.2 MB / 0.698 GB Notification: Performance of Templates: time 0.008177/0.7935, allocations: 4.078 MB / 1.093 GB, free: 138.2 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)