Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00621/0.00621, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001177/0.001177, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.52/1.52, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2708/0.2708, allocations: 54.97 MB / 324.9 MB, free: 4.844 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.001795/0.001795, allocations: 71.83 kB / 456.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1407, allocations: 59.59 MB / 0.5037 GB, free: 7.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002123/0.1428, allocations: 0.5325 MB / 0.5042 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006286/0.1435, allocations: 318.8 kB / 0.5046 GB, free: 6.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.997e-05/0.1435, allocations: 3.938 kB / 0.5046 GB, free: 6.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.1435, allocations: 0 / 0.5046 GB, free: 6.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.771e-06/0.1436, allocations: 0 / 0.5046 GB, free: 6.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004777/0.144, allocations: 114.7 kB / 0.5047 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.392e-05/0.1441, allocations: 0 / 0.5047 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.947e-05/0.1441, allocations: 0 / 0.5047 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.092e-05/0.1442, allocations: 7.984 kB / 0.5047 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.558e-05/0.1442, allocations: 0 / 0.5047 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.1442, allocations: 0 / 0.5047 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000408/0.1446, allocations: 271.6 kB / 0.5049 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.1447, allocations: 4 kB / 0.5049 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.1447, allocations: 0 / 0.5049 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.1449, allocations: 91.8 kB / 0.505 GB, free: 5.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1449, allocations: 4 kB / 0.505 GB, free: 5.723 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1449, allocations: 0 / 0.505 GB, free: 5.723 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1449, allocations: 0 / 0.505 GB, free: 5.723 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003314/0.1452, allocations: 327.6 kB / 0.5053 GB, free: 5.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1453, allocations: 8.031 kB / 0.5053 GB, free: 5.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.1453, allocations: 0.9375 kB / 0.5053 GB, free: 5.348 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.1454, allocations: 160.4 kB / 0.5055 GB, free: 5.152 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.1455, allocations: 4.375 kB / 0.5055 GB, free: 5.148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.1455, allocations: 4.359 kB / 0.5055 GB, free: 5.145 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.1456, allocations: 41.58 kB / 0.5056 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1456, allocations: 0 / 0.5056 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.1456, allocations: 0 / 0.5056 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1456, allocations: 4 kB / 0.5056 GB, free: 5.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.1457, allocations: 3.984 kB / 0.5056 GB, free: 5.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.1458, allocations: 149.6 kB / 0.5057 GB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.611e-05/0.1458, allocations: 18.61 kB / 0.5057 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/0.1459, allocations: 12.86 kB / 0.5057 GB, free: 4.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005358/0.1464, allocations: 429.4 kB / 0.5061 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1465, allocations: 34.56 kB / 0.5062 GB, free: 4.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1465, allocations: 0 / 0.5062 GB, free: 4.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001598/0.1466, allocations: 33.69 kB / 0.5062 GB, free: 4.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.1467, allocations: 59.53 kB / 0.5063 GB, free: 4.188 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.007e-05/0.1467, allocations: 89.86 kB / 0.5063 GB, free: 4.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.1467, allocations: 25.7 kB / 0.5064 GB, free: 4.059 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.711e-05/0.1468, allocations: 80.14 kB / 0.5064 GB, free: 3.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.1468, allocations: 3.906 kB / 0.5065 GB, free: 3.973 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.1469, allocations: 17.66 kB / 0.5065 GB, free: 3.949 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.147, allocations: 318.8 kB / 0.5068 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.959e-06/0.147, allocations: 0 / 0.5068 GB, free: 3.629 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-06/0.147, allocations: 7.938 kB / 0.5068 GB, free: 3.621 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.988e-05/0.147, allocations: 8.859 kB / 0.5068 GB, free: 3.609 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1471, allocations: 0 / 0.5068 GB, free: 3.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.186e-05/0.1471, allocations: 37.62 kB / 0.5068 GB, free: 3.566 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1472, allocations: 8 kB / 0.5068 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1472, allocations: 0 / 0.5068 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1472, allocations: 0 / 0.5068 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.211e-05/0.1472, allocations: 0 / 0.5068 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1472, allocations: 4 kB / 0.5068 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.005e-05/0.1473, allocations: 4.094 kB / 0.5068 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1473, allocations: 0 / 0.5068 GB, free: 3.551 MB / 398.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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.266e-05/0.1473, allocations: 109.8 kB / 0.5069 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.1474, allocations: 7.875 kB / 0.507 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.643e-05/0.1475, allocations: 44.8 kB / 0.507 GB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1475, allocations: 0 / 0.507 GB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1475, allocations: 4 kB / 0.507 GB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1475, allocations: 4.031 kB / 0.507 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.78e-05/0.1476, allocations: 145.7 kB / 0.5071 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1476, allocations: 0 / 0.5071 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.501e-05/0.1476, allocations: 7.938 kB / 0.5071 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.1476, allocations: 0 / 0.5071 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.1476, allocations: 0 / 0.5071 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.1476, allocations: 0 / 0.5071 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1476, allocations: 0 / 0.5071 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.701e-05/0.1477, allocations: 69.06 kB / 0.5072 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.481e-05/0.1478, allocations: 81.05 kB / 0.5073 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.1478, allocations: 0 / 0.5073 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.214e-06/0.1478, allocations: 0 / 0.5073 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.1478, allocations: 0 / 0.5073 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.1478, allocations: 4 kB / 0.5073 GB, free: 2.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.425e-05/0.1479, allocations: 75.28 kB / 0.5074 GB, free: 2.906 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1479, allocations: 0 / 0.5074 GB, free: 2.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002134/0.1481, allocations: 12 kB / 0.5074 GB, free: 2.895 MB / 398.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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001589/0.1482, allocations: 119.2 kB / 0.5075 GB, free: 2.766 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.965e-05/0.1483, allocations: 4 kB / 0.5075 GB, free: 2.762 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1483, allocations: 0 / 0.5075 GB, free: 2.762 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.827e-06/0.1483, allocations: 7.938 kB / 0.5075 GB, free: 2.754 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.1485, allocations: 4 kB / 0.5075 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001727/0.1487, allocations: 84.88 kB / 0.5076 GB, free: 2.641 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.1489, allocations: 0.6767 MB / 0.5083 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.823e-05/0.1489, allocations: 12.12 kB / 0.5083 GB, free: 1.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.921e-05/0.1489, allocations: 7.438 kB / 0.5083 GB, free: 1.918 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1489, allocations: 0 / 0.5083 GB, free: 1.918 MB / 398.1 MB Notification: Performance of Templates: time 0.002464/0.1514, allocations: 448.1 kB / 0.5087 GB, free: 1.488 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)