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.005422/0.005422, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001202/0.001202, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.472/1.472, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4124/0.4124, allocations: 54.94 MB / 324.8 MB, free: 15.97 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.001537/0.001537, allocations: 70.5 kB / 456.2 MB, free: 38.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1311, allocations: 59.59 MB / 0.5037 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001622/0.1328, allocations: 0.5335 MB / 0.5043 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005532/0.1333, allocations: 324.7 kB / 0.5046 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.857e-05/0.1334, allocations: 0 / 0.5046 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.1334, allocations: 0 / 0.5046 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.903e-06/0.1334, allocations: 5.312 kB / 0.5046 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.1338, allocations: 102.3 kB / 0.5047 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.001e-05/0.1339, allocations: 5.375 kB / 0.5047 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.1339, allocations: 1.375 kB / 0.5047 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.648e-05/0.134, allocations: 9.359 kB / 0.5047 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.211e-05/0.134, allocations: 0 / 0.5047 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.134, allocations: 0 / 0.5047 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003647/0.1344, allocations: 273.8 kB / 0.5049 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.1344, allocations: 5.375 kB / 0.5049 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.334e-05/0.1344, allocations: 0 / 0.5049 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.1346, allocations: 79.36 kB / 0.505 GB, free: 8.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1346, allocations: 0 / 0.505 GB, free: 8.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1346, allocations: 1.375 kB / 0.505 GB, free: 8.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1346, allocations: 0 / 0.505 GB, free: 8.812 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000235/0.1348, allocations: 339.8 kB / 0.5053 GB, free: 8.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1349, allocations: 9.625 kB / 0.5054 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.1349, allocations: 4.922 kB / 0.5054 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.614e-05/0.135, allocations: 161.8 kB / 0.5055 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.135, allocations: 384 / 0.5055 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.135, allocations: 384 / 0.5055 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.418e-05/0.1351, allocations: 36.33 kB / 0.5056 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.1351, allocations: 0 / 0.5056 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.1351, allocations: 0 / 0.5056 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1351, allocations: 1.375 kB / 0.5056 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.818e-05/0.1352, allocations: 5.375 kB / 0.5056 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.323e-05/0.1353, allocations: 151 kB / 0.5057 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.284e-05/0.1353, allocations: 15.95 kB / 0.5057 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.314e-05/0.1353, allocations: 6.234 kB / 0.5057 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003755/0.1357, allocations: 436.8 kB / 0.5061 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.1357, allocations: 35.88 kB / 0.5062 GB, free: 7.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1357, allocations: 0 / 0.5062 GB, free: 7.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001465/0.1359, allocations: 31.2 kB / 0.5062 GB, free: 7.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.794e-05/0.1359, allocations: 55.41 kB / 0.5063 GB, free: 7.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.732e-05/0.1359, allocations: 93.84 kB / 0.5063 GB, free: 7.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.692e-06/0.1359, allocations: 27.08 kB / 0.5064 GB, free: 7.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.081e-05/0.136, allocations: 88.25 kB / 0.5065 GB, free: 7.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.136, allocations: 0 / 0.5065 GB, free: 7.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/0.136, allocations: 12.47 kB / 0.5065 GB, free: 7.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.414e-05/0.1361, allocations: 310.8 kB / 0.5068 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.1361, allocations: 5.188 kB / 0.5068 GB, free: 6.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-06/0.1361, allocations: 1.344 kB / 0.5068 GB, free: 6.781 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.63e-05/0.1361, allocations: 15.48 kB / 0.5068 GB, free: 6.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1361, allocations: 0 / 0.5068 GB, free: 6.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.527e-05/0.1362, allocations: 48.69 kB / 0.5068 GB, free: 6.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1362, allocations: 3.531 kB / 0.5068 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.1362, allocations: 1.344 kB / 0.5068 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1362, allocations: 0 / 0.5068 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.801e-05/0.1363, allocations: 2.5 kB / 0.5068 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.1363, allocations: 0 / 0.5068 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.858e-06/0.1363, allocations: 0 / 0.5068 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.1363, allocations: 1.531 kB / 0.5068 GB, free: 6.719 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 (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 3.993e-05/0.1363, allocations: 107.3 kB / 0.5069 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.1364, allocations: 11.88 kB / 0.507 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.219e-05/0.1364, allocations: 46.78 kB / 0.507 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1365, allocations: 0 / 0.507 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.1365, allocations: 0 / 0.507 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1365, allocations: 0 / 0.507 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.773e-05/0.1365, allocations: 143.3 kB / 0.5071 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1365, allocations: 0 / 0.5071 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.188e-05/0.1365, allocations: 10.45 kB / 0.5071 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.1366, allocations: 0 / 0.5071 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.1366, allocations: 4.906 kB / 0.5071 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1366, allocations: 0 / 0.5071 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1366, allocations: 4.938 kB / 0.5072 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.121e-05/0.1366, allocations: 62.62 kB / 0.5072 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.1367, allocations: 82.17 kB / 0.5073 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.1367, allocations: 5.297 kB / 0.5073 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-06/0.1367, allocations: 0 / 0.5073 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.1367, allocations: 5.312 kB / 0.5073 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-06/0.1367, allocations: 0 / 0.5073 GB, free: 6.164 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.088e-05/0.1367, allocations: 75.28 kB / 0.5074 GB, free: 6.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1367, allocations: 0 / 0.5074 GB, free: 6.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002124/0.137, allocations: 9.656 kB / 0.5074 GB, free: 6.09 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 (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.0001363/0.1371, allocations: 106.8 kB / 0.5075 GB, free: 5.996 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.671e-05/0.1372, allocations: 7.938 kB / 0.5075 GB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1372, allocations: 0 / 0.5075 GB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.093e-06/0.1372, allocations: 11.06 kB / 0.5075 GB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.1373, allocations: 0.9062 kB / 0.5075 GB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001527/0.1375, allocations: 84.59 kB / 0.5076 GB, free: 5.883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.38e-05/0.1376, allocations: 0.6701 MB / 0.5082 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.45e-05/0.1376, allocations: 9.422 kB / 0.5082 GB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.015e-05/0.1376, allocations: 8.812 kB / 0.5083 GB, free: 5.172 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1376, allocations: 0 / 0.5083 GB, free: 5.172 MB / 382.1 MB Notification: Performance of Templates: time 0.002421/0.14, allocations: 457.2 kB / 0.5087 GB, free: 4.938 MB / 382.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)