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.001187/0.001186, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001234/0.001234, allocations: 193.3 kB / 16.25 MB, free: 6.629 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.396/1.396, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3898/0.3898, allocations: 54.93 MB / 324.4 MB, free: 64 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.001323/0.001323, allocations: 67.91 kB / 394.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1314, allocations: 59.59 MB / 454.5 MB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.2258/0.3573, allocations: 0.6404 MB / 455.1 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006017/0.3579, allocations: 341.5 kB / 455.5 MB, free: 39.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.3579, allocations: 0 / 455.5 MB, free: 39.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.3581, allocations: 0.75 kB / 455.5 MB, free: 39.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.836e-05/0.3581, allocations: 2.531 kB / 455.5 MB, free: 39.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004331/0.3585, allocations: 96.92 kB / 455.6 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.447e-05/0.3586, allocations: 28.31 kB / 455.6 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.3587, allocations: 5.016 kB / 455.6 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.919e-05/0.3587, allocations: 13.89 kB / 455.6 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.803e-05/0.3587, allocations: 10.98 kB / 455.6 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.3588, allocations: 0.5312 kB / 455.6 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.3591, allocations: 276 kB / 455.9 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.3591, allocations: 8.672 kB / 455.9 MB, free: 39.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.3591, allocations: 14.05 kB / 455.9 MB, free: 39.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.3593, allocations: 104.4 kB / 456 MB, free: 39.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3593, allocations: 0 / 456 MB, free: 39.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3593, allocations: 0 / 456 MB, free: 39.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3593, allocations: 2.812 kB / 456 MB, free: 39.18 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.0003614/0.3597, allocations: 360 kB / 456.4 MB, free: 38.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.3597, allocations: 8.094 kB / 456.4 MB, free: 38.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.415e-05/0.3598, allocations: 6.719 kB / 456.4 MB, free: 38.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.758e-05/0.3599, allocations: 170 kB / 456.5 MB, free: 38.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.3599, allocations: 3 kB / 456.5 MB, free: 38.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.3599, allocations: 9.812 kB / 456.5 MB, free: 38.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.36, allocations: 53.31 kB / 456.6 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.36, allocations: 0.8125 kB / 456.6 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3601, allocations: 0 / 456.6 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3601, allocations: 3.531 kB / 456.6 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.586e-05/0.3601, allocations: 17.16 kB / 456.6 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.3603, allocations: 173.7 kB / 456.8 MB, free: 38.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.045e-05/0.3604, allocations: 53.78 kB / 456.8 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.678e-05/0.3604, allocations: 30.58 kB / 456.9 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005889/0.361, allocations: 457.3 kB / 457.3 MB, free: 37.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.361, allocations: 39 kB / 457.4 MB, free: 37.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.361, allocations: 0 / 457.4 MB, free: 37.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001093/0.3621, allocations: 0.5972 MB / 458 MB, free: 37.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.3622, allocations: 53.22 kB / 458 MB, free: 37.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.486e-05/0.3622, allocations: 101.6 kB / 458.1 MB, free: 37.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.3622, allocations: 29.48 kB / 458.1 MB, free: 37.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.818e-05/0.3623, allocations: 80.14 kB / 458.2 MB, free: 37.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.3623, allocations: 42.22 kB / 458.3 MB, free: 37.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.3623, allocations: 30.98 kB / 458.3 MB, free: 37.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.193e-05/0.3624, allocations: 318.8 kB / 458.6 MB, free: 36.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.664e-05/0.3625, allocations: 20.92 kB / 458.6 MB, free: 36.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.241e-05/0.3625, allocations: 24.38 kB / 458.6 MB, free: 36.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.527e-05/0.3626, allocations: 57.11 kB / 458.7 MB, free: 36.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3626, allocations: 3.938 kB / 458.7 MB, free: 36.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001262/0.3627, allocations: 100.8 kB / 458.8 MB, free: 36.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3627, allocations: 5.812 kB / 458.8 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3627, allocations: 1.906 kB / 458.8 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3628, allocations: 3.625 kB / 458.8 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.635e-05/0.3629, allocations: 25.72 kB / 458.8 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3629, allocations: 4.953 kB / 458.8 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.289e-05/0.3629, allocations: 1.531 kB / 458.8 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.3629, allocations: 2.812 kB / 458.8 MB, free: 36.72 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.484e-05/0.363, allocations: 122.1 kB / 459 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.363, allocations: 6.375 kB / 459 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.3632, allocations: 103 kB / 459.1 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3632, allocations: 0 / 459.1 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3632, allocations: 3.125 kB / 459.1 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3632, allocations: 1.031 kB / 459.1 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.3635, allocations: 353.5 kB / 459.4 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3635, allocations: 1.359 kB / 459.4 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-05/0.3637, allocations: 24.33 kB / 459.4 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3637, allocations: 2.875 kB / 459.4 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3637, allocations: 2.938 kB / 459.5 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3637, allocations: 1 kB / 459.5 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3637, allocations: 4.5 kB / 459.5 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.3639, allocations: 223.6 kB / 459.7 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.3639, allocations: 87.28 kB / 459.8 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.364, allocations: 1.25 kB / 459.8 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.023e-05/0.3641, allocations: 11.64 kB / 459.8 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.3641, allocations: 5.125 kB / 459.8 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.3641, allocations: 2.938 kB / 459.8 MB, free: 36.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.867e-05/0.3641, allocations: 86.31 kB / 459.9 MB, free: 35.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3641, allocations: 0.8125 kB / 459.9 MB, free: 35.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.3644, allocations: 39.66 kB / 459.9 MB, free: 35.95 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.0002284/0.3646, allocations: 149.1 kB / 460.1 MB, free: 35.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.3648, allocations: 65.06 kB / 460.1 MB, free: 35.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3648, allocations: 3.344 kB / 460.1 MB, free: 35.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.053e-05/0.3648, allocations: 39.75 kB / 460.2 MB, free: 35.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.365, allocations: 10.45 kB / 460.2 MB, free: 35.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.3654, allocations: 185.1 kB / 460.3 MB, free: 35.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.3655, allocations: 0.6836 MB / 461 MB, free: 35.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.533e-05/0.3656, allocations: 18.03 kB / 461 MB, free: 35.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.3656, allocations: 10.94 kB / 461.1 MB, free: 35.02 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3656, allocations: 0 / 461.1 MB, free: 35.02 MB / 382.1 MB Notification: Performance of Templates: time 0.003278/0.3689, allocations: 1.399 MB / 462.5 MB, free: 34.95 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)