Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001468, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001632/0.001632, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.403/1.403, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4576/0.4576, allocations: 54.93 MB / 324.3 MB, free: 164 kB / 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.001673/0.001673, allocations: 63.91 kB / 394.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1483, allocations: 59.6 MB / 454.3 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.2592/0.4076, allocations: 0.6369 MB / 454.9 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000655/0.4083, allocations: 366.9 kB / 455.3 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.587e-05/0.4083, allocations: 0 / 455.3 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.763e-05/0.4084, allocations: 1.031 kB / 455.3 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.188e-05/0.4084, allocations: 2.594 kB / 455.3 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.4088, allocations: 79.97 kB / 455.4 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.45e-05/0.4088, allocations: 23.86 kB / 455.4 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.561e-05/0.4089, allocations: 2.531 kB / 455.4 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.305e-05/0.4089, allocations: 14.16 kB / 455.4 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.908e-05/0.409, allocations: 14.86 kB / 455.4 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.409, allocations: 2.906 kB / 455.4 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003037/0.4093, allocations: 270.3 kB / 455.7 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.4093, allocations: 9.562 kB / 455.7 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.4093, allocations: 15.5 kB / 455.7 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.4095, allocations: 97.88 kB / 455.8 MB, free: 39.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4095, allocations: 1.656 kB / 455.8 MB, free: 39.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4095, allocations: 2.906 kB / 455.8 MB, free: 39.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.4095, allocations: 0 / 455.8 MB, free: 39.2 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003685/0.4099, allocations: 355.7 kB / 456.2 MB, free: 38.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.41, allocations: 15.66 kB / 456.2 MB, free: 38.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.905e-05/0.41, allocations: 13.84 kB / 456.2 MB, free: 38.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.041e-05/0.4101, allocations: 169.5 kB / 456.4 MB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.4101, allocations: 3.438 kB / 456.4 MB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.4102, allocations: 2.969 kB / 456.4 MB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.4103, allocations: 55.45 kB / 456.4 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.4103, allocations: 1.438 kB / 456.4 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.4103, allocations: 4.688 kB / 456.4 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.4103, allocations: 1.406 kB / 456.4 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.668e-05/0.4104, allocations: 15.78 kB / 456.5 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.4105, allocations: 168 kB / 456.6 MB, free: 38.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.4106, allocations: 63.72 kB / 456.7 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.55e-05/0.4107, allocations: 28.73 kB / 456.7 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005643/0.4112, allocations: 457.9 kB / 457.2 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.4113, allocations: 38.38 kB / 457.2 MB, free: 37.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.4113, allocations: 1.594 kB / 457.2 MB, free: 37.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001091/0.4124, allocations: 0.5898 MB / 457.8 MB, free: 37.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.4124, allocations: 52.59 kB / 457.8 MB, free: 37.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.853e-05/0.4125, allocations: 97.25 kB / 457.9 MB, free: 37.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.4125, allocations: 32.52 kB / 458 MB, free: 37.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.485e-05/0.4125, allocations: 84.33 kB / 458 MB, free: 37.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.4125, allocations: 38.17 kB / 458.1 MB, free: 37.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.4126, allocations: 24.66 kB / 458.1 MB, free: 37.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.461e-05/0.4126, allocations: 323.9 kB / 458.4 MB, free: 36.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.816e-05/0.4127, allocations: 18.78 kB / 458.4 MB, free: 36.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.456e-05/0.4127, allocations: 29.69 kB / 458.5 MB, free: 36.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.718e-05/0.4128, allocations: 58.52 kB / 458.5 MB, free: 36.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.4128, allocations: 1.594 kB / 458.5 MB, free: 36.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001297/0.4129, allocations: 100.2 kB / 458.6 MB, free: 36.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4129, allocations: 5.812 kB / 458.6 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.413, allocations: 0 / 458.6 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.413, allocations: 0.875 kB / 458.6 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.984e-05/0.4131, allocations: 23.33 kB / 458.7 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.4131, allocations: 1.25 kB / 458.7 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.4131, allocations: 5.594 kB / 458.7 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.4131, allocations: 6.781 kB / 458.7 MB, free: 36.75 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 (13): * Single equations (assignments): 13 * 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 5.827e-05/0.4132, allocations: 123.7 kB / 458.8 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.4132, allocations: 2.844 kB / 458.8 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.4134, allocations: 104.5 kB / 458.9 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4134, allocations: 3.969 kB / 458.9 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.4134, allocations: 0 / 458.9 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.4134, allocations: 0.75 kB / 458.9 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.4137, allocations: 356.4 kB / 459.3 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.4138, allocations: 2.781 kB / 459.3 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.66e-05/0.4139, allocations: 19.75 kB / 459.3 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4139, allocations: 2.875 kB / 459.3 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.4139, allocations: 0.5625 kB / 459.3 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4139, allocations: 2.25 kB / 459.3 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4139, allocations: 6.609 kB / 459.3 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.4141, allocations: 223.7 kB / 459.5 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.4141, allocations: 87 kB / 459.6 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.4142, allocations: 5.938 kB / 459.6 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.024e-05/0.4143, allocations: 8.312 kB / 459.6 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.4143, allocations: 6.266 kB / 459.6 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.4143, allocations: 5.219 kB / 459.6 MB, free: 36.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.256e-05/0.4143, allocations: 79.47 kB / 459.7 MB, free: 35.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4143, allocations: 0 / 459.7 MB, free: 35.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.4146, allocations: 51.81 kB / 459.7 MB, free: 35.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001946/0.4148, allocations: 146.2 kB / 459.9 MB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.4149, allocations: 57.8 kB / 459.9 MB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.415, allocations: 7.719 kB / 459.9 MB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.251e-05/0.415, allocations: 30.91 kB / 460 MB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.4152, allocations: 12.5 kB / 460 MB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.4155, allocations: 185.8 kB / 460.2 MB, free: 35.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.4157, allocations: 0.6887 MB / 460.9 MB, free: 35.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.889e-05/0.4157, allocations: 12.45 kB / 460.9 MB, free: 35.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.4157, allocations: 12.53 kB / 460.9 MB, free: 35.04 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.4158, allocations: 2.781 kB / 460.9 MB, free: 35.04 MB / 382.1 MB Notification: Performance of Templates: time 0.003768/0.4195, allocations: 1.378 MB / 462.3 MB, free: 34.99 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)