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.01086/0.01085, allocations: 100.7 kB / 15.73 MB, free: 6.047 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.002181/0.002181, allocations: 197.4 kB / 16.67 MB, free: 5.977 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.578/1.578, allocations: 205.1 MB / 222.6 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4267/0.4267, allocations: 54.93 MB / 324.8 MB, free: 15.97 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.001405/0.001405, allocations: 69.3 kB / 456.2 MB, free: 38.26 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1363, allocations: 59.58 MB / 0.5037 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001672/0.138, allocations: 0.5769 MB / 0.5043 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000674/0.1387, allocations: 337.1 kB / 0.5046 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.1387, allocations: 1.562 kB / 0.5046 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.1388, allocations: 3.938 kB / 0.5046 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.7e-05/0.1388, allocations: 4 kB / 0.5046 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.1393, allocations: 112.9 kB / 0.5047 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.204e-05/0.1394, allocations: 30.95 kB / 0.5048 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.1394, allocations: 2.438 kB / 0.5048 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.254e-05/0.1395, allocations: 14 kB / 0.5048 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.876e-05/0.1395, allocations: 15.48 kB / 0.5048 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.1396, allocations: 1.938 kB / 0.5048 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003388/0.1399, allocations: 270.8 kB / 0.5051 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.1399, allocations: 13.31 kB / 0.5051 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.14, allocations: 12.05 kB / 0.5051 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1401, allocations: 102 kB / 0.5052 GB, free: 8.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1401, allocations: 1.375 kB / 0.5052 GB, free: 8.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1401, allocations: 0 / 0.5052 GB, free: 8.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1402, allocations: 0 / 0.5052 GB, free: 8.676 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.0004199/0.1406, allocations: 357.3 kB / 0.5055 GB, free: 8.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1406, allocations: 9.625 kB / 0.5055 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.685e-05/0.1407, allocations: 3.688 kB / 0.5055 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.1408, allocations: 169.7 kB / 0.5057 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.1408, allocations: 5.75 kB / 0.5057 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.1409, allocations: 12.42 kB / 0.5057 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.141, allocations: 56.59 kB / 0.5058 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.141, allocations: 0 / 0.5058 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1411, allocations: 4 kB / 0.5058 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1411, allocations: 1.375 kB / 0.5058 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.192e-05/0.1411, allocations: 22.92 kB / 0.5058 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.1413, allocations: 165.8 kB / 0.506 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.1414, allocations: 59.25 kB / 0.506 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.381e-05/0.1414, allocations: 30.59 kB / 0.506 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005987/0.142, allocations: 462.8 kB / 0.5065 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1421, allocations: 31.94 kB / 0.5065 GB, free: 7.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.1421, allocations: 1.375 kB / 0.5065 GB, free: 7.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001202/0.1433, allocations: 0.5904 MB / 0.5071 GB, free: 6.664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.1433, allocations: 56.77 kB / 0.5071 GB, free: 6.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.138e-05/0.1434, allocations: 97.98 kB / 0.5072 GB, free: 6.496 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.1434, allocations: 27.08 kB / 0.5073 GB, free: 6.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.783e-05/0.1434, allocations: 88.17 kB / 0.5073 GB, free: 6.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.1435, allocations: 39.52 kB / 0.5074 GB, free: 6.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.1435, allocations: 31.17 kB / 0.5074 GB, free: 6.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.829e-05/0.1436, allocations: 312.2 kB / 0.5077 GB, free: 6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.04e-05/0.1436, allocations: 27.95 kB / 0.5077 GB, free: 5.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.343e-05/0.1436, allocations: 16.78 kB / 0.5078 GB, free: 5.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.1438, allocations: 71.69 kB / 0.5078 GB, free: 5.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1438, allocations: 0 / 0.5078 GB, free: 5.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001583/0.1439, allocations: 99.78 kB / 0.5079 GB, free: 5.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.144, allocations: 5.188 kB / 0.5079 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.144, allocations: 0 / 0.5079 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.144, allocations: 1.281 kB / 0.5079 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1441, allocations: 22.05 kB / 0.5079 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1441, allocations: 3.938 kB / 0.5079 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/0.1442, allocations: 5.062 kB / 0.508 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.1442, allocations: 2.656 kB / 0.508 GB, free: 5.863 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.257e-05/0.1442, allocations: 120.3 kB / 0.5081 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.1443, allocations: 7.469 kB / 0.5081 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.1444, allocations: 99.25 kB / 0.5082 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1445, allocations: 1.469 kB / 0.5082 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1445, allocations: 3.938 kB / 0.5082 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.1445, allocations: 1.906 kB / 0.5082 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.1448, allocations: 359.7 kB / 0.5085 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1448, allocations: 5.859 kB / 0.5085 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.1449, allocations: 21.11 kB / 0.5085 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.145, allocations: 0 / 0.5085 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.145, allocations: 1.219 kB / 0.5086 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.145, allocations: 5.469 kB / 0.5086 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.145, allocations: 0 / 0.5086 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.1453, allocations: 221.2 kB / 0.5088 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.1453, allocations: 92.59 kB / 0.5089 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.1453, allocations: 1.188 kB / 0.5089 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-05/0.1454, allocations: 6.406 kB / 0.5089 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.1454, allocations: 15.17 kB / 0.5089 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.1455, allocations: 7 kB / 0.5089 GB, free: 4.984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.568e-05/0.1455, allocations: 78.12 kB / 0.509 GB, free: 4.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1455, allocations: 0 / 0.509 GB, free: 4.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.1458, allocations: 41.03 kB / 0.509 GB, free: 4.902 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.0002213/0.146, allocations: 155.4 kB / 0.5091 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.1462, allocations: 59.73 kB / 0.5092 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1462, allocations: 0 / 0.5092 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.832e-05/0.1462, allocations: 37.64 kB / 0.5092 GB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.1465, allocations: 2.688 kB / 0.5092 GB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003828/0.1469, allocations: 187.9 kB / 0.5094 GB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.147, allocations: 0.6837 MB / 0.5101 GB, free: 3.887 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.746e-05/0.1471, allocations: 14.83 kB / 0.5101 GB, free: 3.879 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.1471, allocations: 16.17 kB / 0.5101 GB, free: 3.867 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1471, allocations: 0 / 0.5101 GB, free: 3.867 MB / 382.1 MB Notification: Performance of Templates: time 0.003355/0.1504, allocations: 1.4 MB / 0.5115 GB, free: 2.488 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)