Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.PowerLinearized.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002572/0.002576, allocations: 353.1 kB / 16.57 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.402/1.402, allocations: 165.8 MB / 183.1 MB, free: 5.355 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.95/3.95, allocations: 410.8 MB / 0.6001 GB, free: 15.35 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001789/0.001789, allocations: 204.5 kB / 0.6668 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004477/0.0004479, allocations: 15.94 kB / 0.7429 GB, free: 8.988 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4472, allocations: 67.43 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/0.6111, allocations: 98.24 MB / 0.9047 GB, free: 10.43 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.6115, allocations: 79.95 kB / 0.9047 GB, free: 10.35 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003001/0.6145, allocations: 0.7641 MB / 0.9055 GB, free: 9.582 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6145, allocations: 0 / 0.9055 GB, free: 9.582 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.6145, allocations: 4 kB / 0.9055 GB, free: 9.578 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005154/0.615, allocations: 347.2 kB / 0.9058 GB, free: 9.191 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.6151, allocations: 8.031 kB / 0.9058 GB, free: 9.184 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.6153, allocations: 23.92 kB / 0.9059 GB, free: 9.16 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.6155, allocations: 163.1 kB / 0.906 GB, free: 8.961 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.6155, allocations: 4 kB / 0.906 GB, free: 8.957 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.6155, allocations: 7.938 kB / 0.906 GB, free: 8.949 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.6158, allocations: 61.67 kB / 0.9061 GB, free: 8.883 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.6159, allocations: 4 kB / 0.9061 GB, free: 8.879 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.6159, allocations: 3.953 kB / 0.9061 GB, free: 8.875 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.6159, allocations: 3.984 kB / 0.9061 GB, free: 8.871 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004063/0.6163, allocations: 63.94 kB / 0.9061 GB, free: 8.809 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005394/0.6169, allocations: 280.8 kB / 0.9064 GB, free: 8.484 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.6172, allocations: 66.48 kB / 0.9065 GB, free: 8.41 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.6174, allocations: 36.89 kB / 0.9065 GB, free: 8.371 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.6175, allocations: 0 / 0.9065 GB, free: 8.371 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.6175, allocations: 34.52 kB / 0.9065 GB, free: 8.328 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.512e-06/0.6175, allocations: 4 kB / 0.9066 GB, free: 8.324 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0007232/0.6182, allocations: 121.7 kB / 0.9067 GB, free: 8.199 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.6183, allocations: 59.34 kB / 0.9067 GB, free: 8.129 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.6184, allocations: 113.8 kB / 0.9068 GB, free: 8.008 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.6184, allocations: 25.7 kB / 0.9069 GB, free: 7.977 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.6185, allocations: 84.14 kB / 0.9069 GB, free: 7.891 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.6185, allocations: 3.906 kB / 0.9069 GB, free: 7.887 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.6186, allocations: 0 / 0.9069 GB, free: 7.887 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.6187, allocations: 322.9 kB / 0.9072 GB, free: 7.562 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.6189, allocations: 27.98 kB / 0.9073 GB, free: 7.535 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.6191, allocations: 34.97 kB / 0.9073 GB, free: 7.504 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.6193, allocations: 32.03 kB / 0.9073 GB, free: 7.473 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6194, allocations: 0 / 0.9073 GB, free: 7.473 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004515/0.6198, allocations: 93.66 kB / 0.9074 GB, free: 7.375 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.6199, allocations: 10.77 kB / 0.9074 GB, free: 7.367 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.6199, allocations: 0 / 0.9074 GB, free: 7.367 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.6199, allocations: 4 kB / 0.9074 GB, free: 7.363 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.6201, allocations: 11.98 kB / 0.9075 GB, free: 7.352 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.6201, allocations: 0 / 0.9075 GB, free: 7.352 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.6202, allocations: 19.95 kB / 0.9075 GB, free: 7.332 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-06/0.6203, allocations: 4 kB / 0.9075 GB, free: 7.328 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 9.358e-05/0.6204, allocations: 109.8 kB / 0.9076 GB, free: 7.211 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.6204, allocations: 7.906 kB / 0.9076 GB, free: 7.203 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.6204, allocations: 11.47 kB / 0.9076 GB, free: 7.195 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.6205, allocations: 0 / 0.9076 GB, free: 7.195 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6205, allocations: 0 / 0.9076 GB, free: 7.195 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.6205, allocations: 0 / 0.9076 GB, free: 7.195 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.6207, allocations: 169.7 kB / 0.9078 GB, free: 6.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6207, allocations: 3.938 kB / 0.9078 GB, free: 6.977 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.6209, allocations: 15.98 kB / 0.9078 GB, free: 6.961 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.6209, allocations: 0 / 0.9078 GB, free: 6.961 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.6209, allocations: 0 / 0.9078 GB, free: 6.961 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.6209, allocations: 3.953 kB / 0.9078 GB, free: 6.957 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.6209, allocations: 0 / 0.9078 GB, free: 6.957 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004924/0.6214, allocations: 187.5 kB / 0.908 GB, free: 6.758 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.6215, allocations: 81.11 kB / 0.908 GB, free: 6.66 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.6215, allocations: 11.97 kB / 0.9081 GB, free: 6.648 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.6217, allocations: 11.98 kB / 0.9081 GB, free: 6.637 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.6218, allocations: 7.891 kB / 0.9081 GB, free: 6.629 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.6218, allocations: 0 / 0.9081 GB, free: 6.629 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.963e-05/0.6219, allocations: 83.52 kB / 0.9082 GB, free: 6.547 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6219, allocations: 4 kB / 0.9082 GB, free: 6.543 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002672/0.6221, allocations: 8 kB / 0.9082 GB, free: 6.535 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0001276/0.6223, allocations: 99.25 kB / 0.9083 GB, free: 6.426 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00044/0.6227, allocations: 59.95 kB / 0.9083 GB, free: 6.367 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.6228, allocations: 4.062 kB / 0.9083 GB, free: 6.363 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.623, allocations: 31.97 kB / 0.9083 GB, free: 6.332 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.6233, allocations: 4 kB / 0.9084 GB, free: 6.328 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.6238, allocations: 136.6 kB / 0.9085 GB, free: 6.168 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.6242, allocations: 0.6809 MB / 0.9091 GB, free: 5.461 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.487e-05/0.6243, allocations: 0 / 0.9091 GB, free: 5.461 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.6243, allocations: 7.438 kB / 0.9092 GB, free: 5.453 MB / 458.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6243, allocations: 0 / 0.9092 GB, free: 5.453 MB / 458.7 MB Notification: Performance of Templates: time 0.002996/0.6273, allocations: 0.4941 MB / 0.9096 GB, free: 4.961 MB / 458.7 MB