Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Annex60.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005419/0.00542, allocations: 100.5 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 186.7 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4188/0.4188, allocations: 54.95 MB / 324.8 MB, free: 15.96 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 69.83 kB / 456.2 MB, free: 38.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1279, allocations: 59.59 MB / 0.5037 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00173/0.1297, allocations: 0.5433 MB / 0.5043 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003228/0.13, allocations: 92.42 kB / 0.5044 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.1301, allocations: 0 / 0.5044 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.1301, allocations: 0 / 0.5044 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.654e-05/0.1302, allocations: 0 / 0.5044 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.1304, allocations: 26.53 kB / 0.5044 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.424e-05/0.1305, allocations: 8.422 kB / 0.5044 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.236e-05/0.1306, allocations: 1.062 kB / 0.5044 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.282e-05/0.1306, allocations: 2.281 kB / 0.5044 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.375e-05/0.1307, allocations: 2.281 kB / 0.5044 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.1307, allocations: 0 / 0.5044 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.876e-05/0.1308, allocations: 18.92 kB / 0.5044 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.1308, allocations: 1.156 kB / 0.5044 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.1308, allocations: 13.05 kB / 0.5044 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.695e-05/0.1309, allocations: 13 kB / 0.5044 GB, free: 9.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1309, allocations: 1.438 kB / 0.5044 GB, free: 9.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1309, allocations: 0 / 0.5044 GB, free: 9.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.066e-06/0.131, allocations: 0 / 0.5044 GB, free: 9.102 MB / 382.1 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.0002839/0.1313, allocations: 318.6 kB / 0.5047 GB, free: 8.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1313, allocations: 8.188 kB / 0.5047 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.1315, allocations: 14.14 kB / 0.5048 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.189e-05/0.1315, allocations: 164.4 kB / 0.5049 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.1316, allocations: 5.531 kB / 0.5049 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.1316, allocations: 1.688 kB / 0.5049 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.1317, allocations: 47.09 kB / 0.505 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.1317, allocations: 0 / 0.505 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1318, allocations: 3.938 kB / 0.505 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1318, allocations: 1.156 kB / 0.505 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.036e-05/0.1319, allocations: 11.52 kB / 0.505 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.132, allocations: 156.2 kB / 0.5051 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.1322, allocations: 36.62 kB / 0.5052 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.873e-05/0.1322, allocations: 17.59 kB / 0.5052 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1322, allocations: 5.438 kB / 0.5052 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.1323, allocations: 38.5 kB / 0.5052 GB, free: 8.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1323, allocations: 1.125 kB / 0.5052 GB, free: 8.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002108/0.1325, allocations: 61.38 kB / 0.5053 GB, free: 8.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.1325, allocations: 51.41 kB / 0.5053 GB, free: 8.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.29e-05/0.1326, allocations: 89.86 kB / 0.5054 GB, free: 7.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.1326, allocations: 27.08 kB / 0.5054 GB, free: 7.945 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.575e-05/0.1326, allocations: 80.14 kB / 0.5055 GB, free: 7.863 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.1326, allocations: 13.06 kB / 0.5055 GB, free: 7.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.1327, allocations: 20.5 kB / 0.5056 GB, free: 7.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.04e-05/0.1327, allocations: 316.3 kB / 0.5059 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.785e-05/0.1328, allocations: 2.938 kB / 0.5059 GB, free: 7.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.072e-05/0.1328, allocations: 12.67 kB / 0.5059 GB, free: 7.504 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.434e-05/0.1329, allocations: 21.58 kB / 0.5059 GB, free: 7.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1329, allocations: 0 / 0.5059 GB, free: 7.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001016/0.133, allocations: 55.05 kB / 0.5059 GB, free: 7.441 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.133, allocations: 7.781 kB / 0.506 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.133, allocations: 1.875 kB / 0.506 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1331, allocations: 0 / 0.506 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/0.1334, allocations: 39.41 kB / 0.506 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/0.1345, allocations: 1.408 MB / 0.5074 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.044e-05/0.1346, allocations: 5.188 kB / 0.5074 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.1346, allocations: 0 / 0.5074 GB, free: 5.934 MB / 382.1 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.965e-05/0.1347, allocations: 111.9 kB / 0.5075 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.858e-06/0.1347, allocations: 0.9688 kB / 0.5075 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.557e-05/0.1347, allocations: 11.59 kB / 0.5075 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1347, allocations: 1.094 kB / 0.5075 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.1347, allocations: 1.625 kB / 0.5075 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1347, allocations: 3.938 kB / 0.5075 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.709e-05/0.1348, allocations: 148.5 kB / 0.5076 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1348, allocations: 3.938 kB / 0.5076 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/0.1352, allocations: 50.91 kB / 0.5077 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.1352, allocations: 5.094 kB / 0.5077 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1352, allocations: 0 / 0.5077 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000909/0.1361, allocations: 1.412 MB / 0.5091 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1361, allocations: 4.125 kB / 0.5091 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.1362, allocations: 78.67 kB / 0.5092 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.683e-05/0.1363, allocations: 82.39 kB / 0.5092 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-06/0.1363, allocations: 0 / 0.5092 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.601e-05/0.1363, allocations: 1.375 kB / 0.5092 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.9e-05/0.1363, allocations: 9.359 kB / 0.5092 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1363, allocations: 1.375 kB / 0.5092 GB, free: 3.895 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.372e-05/0.1364, allocations: 83.28 kB / 0.5093 GB, free: 3.812 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1364, allocations: 0 / 0.5093 GB, free: 3.812 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.1366, allocations: 4.125 kB / 0.5093 GB, free: 3.812 MB / 382.1 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001105/0.1367, allocations: 95.75 kB / 0.5094 GB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004799/0.1372, allocations: 68.84 kB / 0.5095 GB, free: 3.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1372, allocations: 0 / 0.5095 GB, free: 3.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.1374, allocations: 35.33 kB / 0.5095 GB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.1376, allocations: 5.312 kB / 0.5095 GB, free: 3.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/0.138, allocations: 102.6 kB / 0.5096 GB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.1381, allocations: 0.6716 MB / 0.5103 GB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.605e-05/0.1381, allocations: 1.375 kB / 0.5103 GB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.1382, allocations: 10.19 kB / 0.5103 GB, free: 2.855 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1382, allocations: 0 / 0.5103 GB, free: 2.855 MB / 382.1 MB Notification: Performance of Templates: time 0.002327/0.1405, allocations: 435.8 kB / 0.5107 GB, free: 2.625 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)