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.001237/0.001238, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001297/0.001297, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.4 MB / 222.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3914/0.3914, allocations: 54.98 MB / 325.4 MB, free: 0.75 MB / 254.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.0005763/0.0005764, allocations: 16 kB / 396.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3711, allocations: 60.71 MB / 457.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007243/0.3719, allocations: 271 kB / 457.6 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004925/0.3724, allocations: 290.5 kB / 457.9 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.161e-05/0.3724, allocations: 1.156 kB / 457.9 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.751e-05/0.3725, allocations: 3.938 kB / 457.9 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.67e-06/0.3725, allocations: 0 / 457.9 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.3728, allocations: 67.36 kB / 457.9 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.541e-05/0.3729, allocations: 0 / 457.9 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.3729, allocations: 1.438 kB / 457.9 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.735e-05/0.3729, allocations: 3.688 kB / 457.9 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.878e-05/0.373, allocations: 0 / 457.9 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.373, allocations: 3.828 kB / 457.9 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003292/0.3733, allocations: 257.2 kB / 458.2 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.943e-06/0.3733, allocations: 2.156 kB / 458.2 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.797e-05/0.3734, allocations: 26.27 kB / 458.2 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.3735, allocations: 55.69 kB / 458.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3735, allocations: 1.5 kB / 458.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3735, allocations: 0 / 458.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.3735, allocations: 0 / 458.3 MB, free: 38.33 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.0002294/0.3737, allocations: 328 kB / 458.6 MB, free: 37.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.3738, allocations: 8.812 kB / 458.6 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.3738, allocations: 3 kB / 458.6 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.391e-05/0.3739, allocations: 168.1 kB / 458.8 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3739, allocations: 0 / 458.8 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-06/0.3739, allocations: 1.062 kB / 458.8 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.562e-05/0.374, allocations: 32.52 kB / 458.8 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.374, allocations: 0 / 458.8 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.3741, allocations: 0 / 458.8 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.3741, allocations: 3.219 kB / 458.8 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.866e-05/0.3741, allocations: 4.375 kB / 458.8 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001016/0.3742, allocations: 151.8 kB / 459 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.42e-05/0.3742, allocations: 18.55 kB / 459 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004017/0.3746, allocations: 423.8 kB / 459.4 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.3747, allocations: 41.91 kB / 459.4 MB, free: 37.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.643e-06/0.3747, allocations: 0.5156 kB / 459.4 MB, free: 37.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001294/0.3748, allocations: 34.7 kB / 459.5 MB, free: 37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.3749, allocations: 52.81 kB / 459.5 MB, free: 36.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.739e-05/0.3749, allocations: 89.86 kB / 459.6 MB, free: 36.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.772e-06/0.3749, allocations: 27.7 kB / 459.6 MB, free: 36.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.316e-05/0.3749, allocations: 80.14 kB / 459.7 MB, free: 36.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.3749, allocations: 3.688 kB / 459.7 MB, free: 36.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-06/0.3749, allocations: 3 kB / 459.7 MB, free: 36.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.161e-05/0.375, allocations: 319.4 kB / 460 MB, free: 36.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.695e-06/0.375, allocations: 0.5625 kB / 460 MB, free: 36.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-06/0.375, allocations: 0.7188 kB / 460 MB, free: 36.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.633e-05/0.375, allocations: 8.312 kB / 460 MB, free: 36.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.375, allocations: 0 / 460 MB, free: 36.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.193e-05/0.3751, allocations: 35.08 kB / 460.1 MB, free: 36.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.3751, allocations: 7.156 kB / 460.1 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3751, allocations: 0 / 460.1 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.3752, allocations: 0 / 460.1 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.919e-05/0.3752, allocations: 3.156 kB / 460.1 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3752, allocations: 2.969 kB / 460.1 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.799e-06/0.3752, allocations: 1.25 kB / 460.1 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.3752, allocations: 0 / 460.1 MB, free: 36.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.153e-05/0.3753, allocations: 116.2 kB / 460.2 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.3753, allocations: 6.672 kB / 460.2 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.312e-05/0.3754, allocations: 38.19 kB / 460.2 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.3754, allocations: 4.875 kB / 460.3 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3754, allocations: 1.188 kB / 460.3 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.3754, allocations: 0.6562 kB / 460.3 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.584e-05/0.3755, allocations: 156.3 kB / 460.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3755, allocations: 0 / 460.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.086e-05/0.3755, allocations: 4.281 kB / 460.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3755, allocations: 0 / 460.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.3755, allocations: 0 / 460.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3755, allocations: 3.938 kB / 460.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3755, allocations: 2.969 kB / 460.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.95e-05/0.3756, allocations: 63.95 kB / 460.5 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.3756, allocations: 82.22 kB / 460.6 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-06/0.3756, allocations: 0 / 460.6 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-06/0.3757, allocations: 3.75 kB / 460.6 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.003e-05/0.3757, allocations: 0 / 460.6 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.3757, allocations: 1.625 kB / 460.6 MB, free: 35.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.241e-05/0.3757, allocations: 75.28 kB / 460.6 MB, free: 35.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3757, allocations: 0 / 460.6 MB, free: 35.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001878/0.3759, allocations: 16.31 kB / 460.7 MB, free: 35.78 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 (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.0001332/0.376, allocations: 112.9 kB / 460.8 MB, free: 35.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.776e-05/0.3761, allocations: 2.812 kB / 460.8 MB, free: 35.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3761, allocations: 0 / 460.8 MB, free: 35.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.173e-06/0.3761, allocations: 2.938 kB / 460.8 MB, free: 35.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.889e-05/0.3762, allocations: 7.938 kB / 460.8 MB, free: 35.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001431/0.3764, allocations: 84.33 kB / 460.9 MB, free: 35.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.103e-05/0.3765, allocations: 0.6792 MB / 461.5 MB, free: 34.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.525e-05/0.3765, allocations: 0 / 461.5 MB, free: 34.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.089e-05/0.3765, allocations: 7.438 kB / 461.5 MB, free: 34.89 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3765, allocations: 0 / 461.5 MB, free: 34.89 MB / 382.1 MB Notification: Performance of Templates: time 0.002176/0.3787, allocations: 436.2 kB / 462 MB, free: 34.85 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: