Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001286, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001391/0.001391, allocations: 189.5 kB / 16.14 MB, free: 6.703 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.533/1.533, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4598/0.4598, allocations: 54.92 MB / 324.3 MB, free: 112 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.001311/0.001311, allocations: 67.91 kB / 394.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1281, allocations: 59.59 MB / 454.3 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.227/0.3552, allocations: 0.6055 MB / 454.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006979/0.3559, allocations: 361.7 kB / 455.3 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.511e-05/0.356, allocations: 0 / 455.3 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.356, allocations: 0 / 455.3 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.39e-05/0.3561, allocations: 0 / 455.3 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.3564, allocations: 77.48 kB / 455.4 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.355e-05/0.3565, allocations: 6.562 kB / 455.4 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.3565, allocations: 8.031 kB / 455.4 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.023e-05/0.3565, allocations: 8.625 kB / 455.4 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.793e-05/0.3566, allocations: 5.609 kB / 455.4 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.3566, allocations: 0 / 455.4 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000344/0.357, allocations: 273.8 kB / 455.7 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.357, allocations: 3.125 kB / 455.7 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.357, allocations: 9.703 kB / 455.7 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.3572, allocations: 89.97 kB / 455.8 MB, free: 39.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3572, allocations: 1.969 kB / 455.8 MB, free: 39.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3572, allocations: 0.9688 kB / 455.8 MB, free: 39.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.3572, allocations: 0 / 455.8 MB, free: 39.02 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000338/0.3576, allocations: 343.6 kB / 456.1 MB, free: 38.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3576, allocations: 12.19 kB / 456.1 MB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.732e-05/0.3577, allocations: 5.344 kB / 456.1 MB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.624e-05/0.3578, allocations: 165.5 kB / 456.3 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3578, allocations: 1.688 kB / 456.3 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.3578, allocations: 2.844 kB / 456.3 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.358, allocations: 41.17 kB / 456.3 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.358, allocations: 1.969 kB / 456.3 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.358, allocations: 4.5 kB / 456.3 MB, free: 38.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.358, allocations: 0 / 456.3 MB, free: 38.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.398e-05/0.358, allocations: 3.906 kB / 456.3 MB, free: 38.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.3582, allocations: 155.6 kB / 456.5 MB, free: 38.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.68e-05/0.3582, allocations: 25.36 kB / 456.5 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.839e-05/0.3583, allocations: 13.45 kB / 456.5 MB, free: 38.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006268/0.3589, allocations: 453.6 kB / 457 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.3589, allocations: 41.95 kB / 457 MB, free: 37.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.3589, allocations: 0.5625 kB / 457 MB, free: 37.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004523/0.3594, allocations: 246.7 kB / 457.2 MB, free: 37.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.76e-05/0.3594, allocations: 53.81 kB / 457.3 MB, free: 37.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.93e-05/0.3595, allocations: 96.7 kB / 457.4 MB, free: 37.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.3595, allocations: 28.52 kB / 457.4 MB, free: 37.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.284e-05/0.3595, allocations: 80.77 kB / 457.5 MB, free: 37.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.3595, allocations: 15.39 kB / 457.5 MB, free: 37.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.3596, allocations: 19.84 kB / 457.5 MB, free: 37.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.719e-05/0.3596, allocations: 315.8 kB / 457.8 MB, free: 36.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.3596, allocations: 3.062 kB / 457.8 MB, free: 36.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.17e-05/0.3596, allocations: 22.78 kB / 457.9 MB, free: 36.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.877e-05/0.3597, allocations: 25.34 kB / 457.9 MB, free: 36.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3597, allocations: 1.25 kB / 457.9 MB, free: 36.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.287e-05/0.3598, allocations: 64.33 kB / 458 MB, free: 36.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.3598, allocations: 4.219 kB / 458 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.3598, allocations: 3.25 kB / 458 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.3598, allocations: 3.328 kB / 458 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.336e-05/0.3599, allocations: 6.438 kB / 458 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.3599, allocations: 0 / 458 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.927e-05/0.3599, allocations: 4.125 kB / 458 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.3599, allocations: 0 / 458 MB, free: 36.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 4.196e-05/0.36, allocations: 116.2 kB / 458.1 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.36, allocations: 3.938 kB / 458.1 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.3601, allocations: 56.95 kB / 458.1 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3602, allocations: 3.844 kB / 458.2 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3602, allocations: 1.344 kB / 458.2 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3602, allocations: 5.094 kB / 458.2 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.349e-05/0.3602, allocations: 156.4 kB / 458.3 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3602, allocations: 3.938 kB / 458.3 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.79e-05/0.3603, allocations: 6.688 kB / 458.3 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3603, allocations: 0.6094 kB / 458.3 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.3603, allocations: 1 kB / 458.3 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.3603, allocations: 0 / 458.3 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3603, allocations: 4.219 kB / 458.3 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.3604, allocations: 82.89 kB / 458.4 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.3605, allocations: 81.05 kB / 458.5 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.3605, allocations: 0 / 458.5 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.835e-05/0.3605, allocations: 4.875 kB / 458.5 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.3606, allocations: 4.703 kB / 458.5 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.3606, allocations: 5.094 kB / 458.5 MB, free: 36.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.595e-05/0.3606, allocations: 77.53 kB / 458.6 MB, free: 36.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3606, allocations: 0.5938 kB / 458.6 MB, free: 36.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002126/0.3608, allocations: 21.91 kB / 458.6 MB, free: 36.19 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001517/0.361, allocations: 124.7 kB / 458.7 MB, free: 36.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.57e-05/0.3611, allocations: 18.7 kB / 458.7 MB, free: 36.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3611, allocations: 4.406 kB / 458.7 MB, free: 36.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.492e-05/0.3611, allocations: 7.312 kB / 458.7 MB, free: 36.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.3612, allocations: 6.562 kB / 458.8 MB, free: 36.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002199/0.3615, allocations: 121.3 kB / 458.9 MB, free: 35.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.3616, allocations: 0.675 MB / 459.5 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.145e-05/0.3616, allocations: 6.594 kB / 459.6 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.3616, allocations: 10.31 kB / 459.6 MB, free: 35.29 MB / 382.1 MB Notification: Performance of SimCode: time 1.153e-06/0.3616, allocations: 0.6562 kB / 459.6 MB, free: 35.29 MB / 382.1 MB Notification: Performance of Templates: time 0.002696/0.3643, allocations: 0.8537 MB / 460.4 MB, free: 35.26 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)