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.007728/0.007728, allocations: 103.6 kB / 15.74 MB, free: 6.039 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.001252/0.001252, allocations: 195.8 kB / 16.68 MB, free: 5.953 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.53/1.53, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4624/0.4624, allocations: 54.94 MB / 324.8 MB, free: 15.89 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.001521/0.001521, allocations: 71.33 kB / 456.2 MB, free: 38.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1341, allocations: 59.59 MB / 0.5037 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001839/0.136, allocations: 0.5649 MB / 0.5043 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006037/0.1366, allocations: 350.1 kB / 0.5046 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.743e-05/0.1367, allocations: 0 / 0.5046 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.1367, allocations: 0 / 0.5046 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.464e-05/0.1367, allocations: 3.938 kB / 0.5046 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.1372, allocations: 110.3 kB / 0.5047 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.026e-05/0.1373, allocations: 22.64 kB / 0.5048 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.1373, allocations: 9.719 kB / 0.5048 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.731e-05/0.1374, allocations: 13.25 kB / 0.5048 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.144e-05/0.1374, allocations: 23.5 kB / 0.5048 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1374, allocations: 1.781 kB / 0.5048 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003335/0.1378, allocations: 271.3 kB / 0.5051 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.1378, allocations: 9.359 kB / 0.5051 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.1378, allocations: 12.06 kB / 0.5051 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.138, allocations: 99.39 kB / 0.5052 GB, free: 8.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1381, allocations: 0 / 0.5052 GB, free: 8.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1381, allocations: 0 / 0.5052 GB, free: 8.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.1381, allocations: 0 / 0.5052 GB, free: 8.609 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.000445/0.1385, allocations: 370.6 kB / 0.5055 GB, free: 8.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1386, allocations: 9.625 kB / 0.5055 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.114e-05/0.1387, allocations: 3.688 kB / 0.5055 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.525e-05/0.1388, allocations: 165.7 kB / 0.5057 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1388, allocations: 1.75 kB / 0.5057 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.1388, allocations: 3.125 kB / 0.5057 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.1389, allocations: 64.53 kB / 0.5058 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.139, allocations: 0 / 0.5058 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.139, allocations: 1.375 kB / 0.5058 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.139, allocations: 1.375 kB / 0.5058 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.614e-05/0.139, allocations: 22.98 kB / 0.5058 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.1392, allocations: 169.8 kB / 0.506 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.1393, allocations: 55.31 kB / 0.506 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.355e-05/0.1394, allocations: 33.22 kB / 0.506 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005919/0.14, allocations: 472 kB / 0.5065 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.14, allocations: 31.94 kB / 0.5065 GB, free: 7.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.14, allocations: 0 / 0.5065 GB, free: 7.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001189/0.1412, allocations: 0.5915 MB / 0.5071 GB, free: 6.586 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.1413, allocations: 52.59 kB / 0.5071 GB, free: 6.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.742e-05/0.1413, allocations: 97.77 kB / 0.5072 GB, free: 6.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.1413, allocations: 27.45 kB / 0.5073 GB, free: 6.391 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.084e-05/0.1414, allocations: 84.08 kB / 0.5073 GB, free: 6.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.1414, allocations: 35.95 kB / 0.5074 GB, free: 6.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.1415, allocations: 34.33 kB / 0.5074 GB, free: 6.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.772e-05/0.1415, allocations: 315.8 kB / 0.5077 GB, free: 5.926 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.618e-05/0.1416, allocations: 20.3 kB / 0.5077 GB, free: 5.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.515e-05/0.1416, allocations: 31.86 kB / 0.5078 GB, free: 5.902 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.1417, allocations: 56.61 kB / 0.5078 GB, free: 5.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1417, allocations: 3.938 kB / 0.5078 GB, free: 5.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001617/0.1419, allocations: 98.81 kB / 0.5079 GB, free: 5.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1419, allocations: 9.172 kB / 0.5079 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.142, allocations: 0 / 0.5079 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.142, allocations: 5.375 kB / 0.5079 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.1421, allocations: 17.56 kB / 0.5079 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.1421, allocations: 1.281 kB / 0.508 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.571e-05/0.1422, allocations: 7.938 kB / 0.508 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.1422, allocations: 3.969 kB / 0.508 GB, free: 5.793 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 6.676e-05/0.1422, allocations: 124.8 kB / 0.5081 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.1423, allocations: 6.312 kB / 0.5081 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.1425, allocations: 103.5 kB / 0.5082 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1425, allocations: 1.562 kB / 0.5082 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1425, allocations: 4 kB / 0.5082 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1425, allocations: 3.984 kB / 0.5082 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.1428, allocations: 357.7 kB / 0.5085 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1428, allocations: 0 / 0.5085 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.143, allocations: 18.03 kB / 0.5086 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.143, allocations: 0 / 0.5086 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.143, allocations: 5.219 kB / 0.5086 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.143, allocations: 5.188 kB / 0.5086 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.143, allocations: 3.984 kB / 0.5086 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.1432, allocations: 226.7 kB / 0.5088 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.706e-05/0.1433, allocations: 83.69 kB / 0.5089 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.1433, allocations: 1.219 kB / 0.5089 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.826e-05/0.1434, allocations: 6.312 kB / 0.5089 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.1434, allocations: 7.266 kB / 0.5089 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.1434, allocations: 6.531 kB / 0.5089 GB, free: 4.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.121e-05/0.1434, allocations: 81.75 kB / 0.509 GB, free: 4.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1434, allocations: 1.375 kB / 0.509 GB, free: 4.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1437, allocations: 47.83 kB / 0.509 GB, free: 4.824 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.0001953/0.1439, allocations: 137.7 kB / 0.5091 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.1441, allocations: 58.86 kB / 0.5092 GB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1441, allocations: 0 / 0.5092 GB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.699e-05/0.1441, allocations: 37.27 kB / 0.5092 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.1443, allocations: 9.875 kB / 0.5092 GB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.1446, allocations: 197.1 kB / 0.5094 GB, free: 4.512 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.1448, allocations: 0.6836 MB / 0.5101 GB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.868e-05/0.1448, allocations: 9.484 kB / 0.5101 GB, free: 3.809 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.062e-05/0.1448, allocations: 12.94 kB / 0.5101 GB, free: 3.801 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1448, allocations: 0 / 0.5101 GB, free: 3.801 MB / 382.1 MB Notification: Performance of Templates: time 0.003542/0.1484, allocations: 1.406 MB / 0.5115 GB, free: 2.5 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)