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.0103/0.0103, allocations: 105.8 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.002472/0.002472, allocations: 192.3 kB / 16.67 MB, free: 5.973 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.616/1.616, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3974/0.3974, allocations: 54.95 MB / 324.8 MB, free: 52 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.001444/0.001444, allocations: 68.17 kB / 456.3 MB, free: 38.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1329, allocations: 59.6 MB / 0.5038 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001726/0.1346, allocations: 0.5372 MB / 0.5043 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006929/0.1354, allocations: 327.7 kB / 0.5046 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.1354, allocations: 5.375 kB / 0.5046 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.1354, allocations: 0 / 0.5046 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.03e-05/0.1355, allocations: 3.938 kB / 0.5046 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.136, allocations: 113 kB / 0.5048 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.202e-05/0.136, allocations: 8.109 kB / 0.5048 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.1361, allocations: 9.375 kB / 0.5048 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.152e-05/0.1361, allocations: 10.67 kB / 0.5048 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.254e-05/0.1362, allocations: 5.375 kB / 0.5048 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.1362, allocations: 1.375 kB / 0.5048 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003461/0.1365, allocations: 273.9 kB / 0.505 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.1366, allocations: 1.375 kB / 0.505 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.1366, allocations: 5.312 kB / 0.5051 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.1368, allocations: 92.66 kB / 0.5051 GB, free: 8.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1368, allocations: 3.938 kB / 0.5051 GB, free: 8.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.1368, allocations: 1.375 kB / 0.5051 GB, free: 8.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1368, allocations: 0 / 0.5051 GB, free: 8.832 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.000306/0.1371, allocations: 342.5 kB / 0.5055 GB, free: 8.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1371, allocations: 13.62 kB / 0.5055 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.1372, allocations: 2.312 kB / 0.5055 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.064e-05/0.1373, allocations: 165.7 kB / 0.5056 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1373, allocations: 384 / 0.5056 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.1373, allocations: 9.688 kB / 0.5057 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.113e-05/0.1374, allocations: 39.12 kB / 0.5057 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1375, allocations: 0 / 0.5057 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1375, allocations: 0 / 0.5057 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1375, allocations: 0 / 0.5057 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.246e-05/0.1375, allocations: 6.75 kB / 0.5057 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.1376, allocations: 157.7 kB / 0.5059 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.135e-05/0.1377, allocations: 18.7 kB / 0.5059 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.69e-05/0.1377, allocations: 11.61 kB / 0.5059 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005952/0.1383, allocations: 462.8 kB / 0.5063 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.1383, allocations: 31.62 kB / 0.5064 GB, free: 7.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1384, allocations: 0 / 0.5064 GB, free: 7.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005331/0.1389, allocations: 251.4 kB / 0.5066 GB, free: 7.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.1389, allocations: 56.84 kB / 0.5066 GB, free: 7.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.586e-05/0.139, allocations: 91.92 kB / 0.5067 GB, free: 7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.139, allocations: 26.83 kB / 0.5068 GB, free: 6.969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.427e-05/0.139, allocations: 85.17 kB / 0.5068 GB, free: 6.883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.1391, allocations: 12.77 kB / 0.5069 GB, free: 6.871 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.1391, allocations: 17.5 kB / 0.5069 GB, free: 6.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.943e-05/0.1392, allocations: 312.2 kB / 0.5072 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.1392, allocations: 12 kB / 0.5072 GB, free: 6.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.664e-05/0.1392, allocations: 29.55 kB / 0.5072 GB, free: 6.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.232e-05/0.1393, allocations: 23.28 kB / 0.5072 GB, free: 6.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1393, allocations: 0 / 0.5072 GB, free: 6.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.807e-05/0.1394, allocations: 58.16 kB / 0.5073 GB, free: 6.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1394, allocations: 5.5 kB / 0.5073 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1394, allocations: 4.062 kB / 0.5073 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1394, allocations: 1.125 kB / 0.5073 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.861e-05/0.1395, allocations: 6.281 kB / 0.5073 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.1395, allocations: 5.328 kB / 0.5073 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.1395, allocations: 0 / 0.5073 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.1395, allocations: 1.469 kB / 0.5073 GB, free: 6.426 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 5.379e-05/0.1396, allocations: 112.1 kB / 0.5074 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.1396, allocations: 9.156 kB / 0.5074 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.1398, allocations: 66.02 kB / 0.5075 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1398, allocations: 0 / 0.5075 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.1398, allocations: 1.344 kB / 0.5075 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1398, allocations: 0 / 0.5075 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.496e-05/0.1399, allocations: 157.5 kB / 0.5076 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1399, allocations: 0 / 0.5076 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.917e-05/0.1399, allocations: 4.906 kB / 0.5076 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1399, allocations: 0 / 0.5076 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.14, allocations: 1.188 kB / 0.5076 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.14, allocations: 5.578 kB / 0.5076 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.14, allocations: 4 kB / 0.5077 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.1401, allocations: 85.56 kB / 0.5077 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.1401, allocations: 78.7 kB / 0.5078 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.1401, allocations: 0 / 0.5078 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.575e-05/0.1402, allocations: 1.625 kB / 0.5078 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.1402, allocations: 5.641 kB / 0.5078 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.1402, allocations: 1.594 kB / 0.5078 GB, free: 5.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.004e-05/0.1402, allocations: 85.12 kB / 0.5079 GB, free: 5.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1402, allocations: 0 / 0.5079 GB, free: 5.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002083/0.1404, allocations: 21.72 kB / 0.5079 GB, free: 5.762 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.0001711/0.1406, allocations: 124.5 kB / 0.508 GB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.084e-05/0.1407, allocations: 23.73 kB / 0.5081 GB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1407, allocations: 0 / 0.5081 GB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.581e-05/0.1408, allocations: 7.031 kB / 0.5081 GB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.1409, allocations: 9.406 kB / 0.5081 GB, free: 5.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002239/0.1411, allocations: 119.7 kB / 0.5082 GB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.1412, allocations: 0.6774 MB / 0.5089 GB, free: 4.816 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.783e-05/0.1413, allocations: 6.625 kB / 0.5089 GB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.577e-05/0.1413, allocations: 9.938 kB / 0.5089 GB, free: 4.805 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1413, allocations: 0 / 0.5089 GB, free: 4.805 MB / 382.1 MB Notification: Performance of Templates: time 0.00324/0.1445, allocations: 0.8665 MB / 0.5097 GB, free: 4.305 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)