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.001158/0.001158, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.4 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3863/0.3863, allocations: 54.94 MB / 324.7 MB, free: 15.93 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.001518/0.001519, allocations: 83.88 kB / 395.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1411, allocations: 59.59 MB / 454.9 MB, free: 116 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.261/0.4021, allocations: 0.5707 MB / 455.5 MB, free: 39.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006034/0.4028, allocations: 342.5 kB / 455.8 MB, free: 39.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.4028, allocations: 0 / 455.8 MB, free: 39.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.65e-05/0.4029, allocations: 2.438 kB / 455.8 MB, free: 39.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.203e-05/0.4029, allocations: 0 / 455.8 MB, free: 39.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.4033, allocations: 120.8 kB / 456 MB, free: 39.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.174e-05/0.4034, allocations: 24.66 kB / 456 MB, free: 39.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.4034, allocations: 0 / 456 MB, free: 39.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.706e-05/0.4035, allocations: 15.56 kB / 456 MB, free: 39.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.08e-05/0.4035, allocations: 16.3 kB / 456 MB, free: 39.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.4036, allocations: 0 / 456 MB, free: 39.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003508/0.4039, allocations: 278.4 kB / 456.3 MB, free: 39.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.4039, allocations: 5.047 kB / 456.3 MB, free: 39.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.404, allocations: 11.72 kB / 456.3 MB, free: 39.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.4042, allocations: 102.2 kB / 456.4 MB, free: 39.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4042, allocations: 7.031 kB / 456.4 MB, free: 39.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4042, allocations: 0 / 456.4 MB, free: 39.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.4042, allocations: 0 / 456.4 MB, free: 39.77 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.0004065/0.4046, allocations: 360.6 kB / 456.8 MB, free: 39.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.4047, allocations: 8 kB / 456.8 MB, free: 39.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.944e-05/0.4047, allocations: 6.812 kB / 456.8 MB, free: 39.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.596e-05/0.4048, allocations: 169.8 kB / 456.9 MB, free: 39.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.4048, allocations: 1 kB / 456.9 MB, free: 39.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.4049, allocations: 7.938 kB / 457 MB, free: 39.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.405, allocations: 58.14 kB / 457 MB, free: 39.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.405, allocations: 0 / 457 MB, free: 39.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.405, allocations: 0.5312 kB / 457 MB, free: 39.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.4051, allocations: 0 / 457 MB, free: 39.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.467e-05/0.4051, allocations: 22.53 kB / 457 MB, free: 39.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.4053, allocations: 164.5 kB / 457.2 MB, free: 38.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.4054, allocations: 62.67 kB / 457.3 MB, free: 38.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.988e-05/0.4055, allocations: 28.2 kB / 457.3 MB, free: 38.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005931/0.4061, allocations: 466.4 kB / 457.7 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.4061, allocations: 38.06 kB / 457.8 MB, free: 38.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.4061, allocations: 0 / 457.8 MB, free: 38.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001129/0.4072, allocations: 0.5897 MB / 458.4 MB, free: 38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.4073, allocations: 56.41 kB / 458.4 MB, free: 37.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.763e-05/0.4073, allocations: 96.47 kB / 458.5 MB, free: 37.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.4073, allocations: 30.67 kB / 458.5 MB, free: 37.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.307e-05/0.4074, allocations: 84.12 kB / 458.6 MB, free: 37.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.4074, allocations: 36.58 kB / 458.7 MB, free: 37.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.4074, allocations: 25.94 kB / 458.7 MB, free: 37.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.71e-05/0.4075, allocations: 321.5 kB / 459 MB, free: 37.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.46e-05/0.4075, allocations: 23.41 kB / 459 MB, free: 37.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.254e-05/0.4076, allocations: 19.97 kB / 459 MB, free: 37.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.785e-05/0.4077, allocations: 60.44 kB / 459.1 MB, free: 37.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4077, allocations: 4.594 kB / 459.1 MB, free: 37.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001301/0.4078, allocations: 99.41 kB / 459.2 MB, free: 37.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.4078, allocations: 6.625 kB / 459.2 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4078, allocations: 0 / 459.2 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.4078, allocations: 3.281 kB / 459.2 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.513e-05/0.4079, allocations: 25.25 kB / 459.2 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.408, allocations: 0 / 459.2 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.408, allocations: 3.125 kB / 459.2 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.408, allocations: 6.562 kB / 459.3 MB, free: 37.32 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.267e-05/0.4081, allocations: 117.4 kB / 459.4 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.4081, allocations: 5.312 kB / 459.4 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.4083, allocations: 102.5 kB / 459.5 MB, free: 37.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4083, allocations: 5.281 kB / 459.5 MB, free: 37.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4083, allocations: 0.6875 kB / 459.5 MB, free: 37.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4083, allocations: 3.047 kB / 459.5 MB, free: 37.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.4086, allocations: 356.7 kB / 459.8 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4086, allocations: 0.5312 kB / 459.8 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.4087, allocations: 22.66 kB / 459.8 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4087, allocations: 0 / 459.8 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.4087, allocations: 0.75 kB / 459.9 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4087, allocations: 6.844 kB / 459.9 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4088, allocations: 0 / 459.9 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.409, allocations: 223.4 kB / 460.1 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.409, allocations: 90.78 kB / 460.2 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.409, allocations: 3.125 kB / 460.2 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.4091, allocations: 7.969 kB / 460.2 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.4091, allocations: 8.469 kB / 460.2 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.4091, allocations: 6.125 kB / 460.2 MB, free: 36.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.962e-05/0.4092, allocations: 83.47 kB / 460.3 MB, free: 36.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4092, allocations: 0 / 460.3 MB, free: 36.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.4094, allocations: 42.28 kB / 460.3 MB, free: 36.54 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.0001937/0.4096, allocations: 147.6 kB / 460.5 MB, free: 36.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.4098, allocations: 65.89 kB / 460.5 MB, free: 36.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4098, allocations: 0.5312 kB / 460.5 MB, free: 36.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.821e-05/0.4098, allocations: 31.81 kB / 460.6 MB, free: 36.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.4101, allocations: 9.094 kB / 460.6 MB, free: 36.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.4104, allocations: 181 kB / 460.7 MB, free: 36.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.4105, allocations: 0.6845 MB / 461.4 MB, free: 35.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.719e-05/0.4106, allocations: 13.47 kB / 461.4 MB, free: 35.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.988e-05/0.4106, allocations: 10.44 kB / 461.4 MB, free: 35.62 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4106, allocations: 0 / 461.4 MB, free: 35.62 MB / 382.1 MB Notification: Performance of Templates: time 0.003821/0.4144, allocations: 1.407 MB / 462.9 MB, free: 35.56 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)