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.0008893/0.0008892, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009959/0.000996, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.4 MB / 222.1 MB, free: 5.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4318/0.4318, allocations: 55.01 MB / 325.4 MB, free: 0.7422 MB / 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.0005719/0.000572, allocations: 20 kB / 396.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4237, allocations: 60.72 MB / 457.4 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.000712/0.4244, allocations: 304.3 kB / 457.7 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005657/0.425, allocations: 315.4 kB / 458 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.655e-05/0.425, allocations: 0 / 458 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.068e-05/0.425, allocations: 3.938 kB / 458 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.122e-05/0.4251, allocations: 2.969 kB / 458 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.4254, allocations: 70.62 kB / 458.1 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.382e-05/0.4255, allocations: 24.11 kB / 458.1 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.4256, allocations: 6.484 kB / 458.1 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.684e-05/0.4256, allocations: 10.56 kB / 458.1 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.345e-05/0.4257, allocations: 13.34 kB / 458.1 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.4257, allocations: 3.844 kB / 458.1 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003256/0.426, allocations: 266 kB / 458.4 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.426, allocations: 10.11 kB / 458.4 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.4261, allocations: 28.33 kB / 458.4 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.4262, allocations: 63.38 kB / 458.5 MB, free: 38.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4262, allocations: 0 / 458.5 MB, free: 38.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.4262, allocations: 3.938 kB / 458.5 MB, free: 38.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.4262, allocations: 3.828 kB / 458.5 MB, free: 38.3 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.0003306/0.4266, allocations: 349.8 kB / 458.8 MB, free: 37.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.4266, allocations: 12.94 kB / 458.8 MB, free: 37.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.222e-05/0.4267, allocations: 5.688 kB / 458.8 MB, free: 37.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.4268, allocations: 177.4 kB / 459 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.4269, allocations: 1.312 kB / 459 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.4269, allocations: 6.344 kB / 459 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.427, allocations: 51.98 kB / 459.1 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.427, allocations: 1.469 kB / 459.1 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.427, allocations: 2.594 kB / 459.1 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4271, allocations: 0 / 459.1 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.096e-05/0.4271, allocations: 22.14 kB / 459.1 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.4273, allocations: 164.2 kB / 459.3 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.4274, allocations: 61.06 kB / 459.3 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.417e-05/0.4275, allocations: 26.83 kB / 459.3 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006226/0.4281, allocations: 460.8 kB / 459.8 MB, free: 37.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.4281, allocations: 41.69 kB / 459.8 MB, free: 36.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.853e-06/0.4281, allocations: 1.375 kB / 459.8 MB, free: 36.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001526/0.4297, allocations: 0.5877 MB / 460.4 MB, free: 36.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.4297, allocations: 58.25 kB / 460.5 MB, free: 36.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.354e-05/0.4298, allocations: 98.8 kB / 460.6 MB, free: 36.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.4299, allocations: 25.7 kB / 460.6 MB, free: 36.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.4299, allocations: 87.02 kB / 460.7 MB, free: 36.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/0.43, allocations: 45.3 kB / 460.7 MB, free: 36.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/0.43, allocations: 0 / 460.7 MB, free: 36.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.4301, allocations: 319.5 kB / 461 MB, free: 35.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.909e-05/0.4301, allocations: 15.89 kB / 461.1 MB, free: 35.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.057e-05/0.4302, allocations: 34.03 kB / 461.1 MB, free: 35.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.216e-05/0.4303, allocations: 21.03 kB / 461.1 MB, free: 35.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.4303, allocations: 0 / 461.1 MB, free: 35.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001524/0.4304, allocations: 93.39 kB / 461.2 MB, free: 35.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.4305, allocations: 5.781 kB / 461.2 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.4305, allocations: 0 / 461.2 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.4305, allocations: 3.328 kB / 461.2 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.4306, allocations: 27.44 kB / 461.2 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.4307, allocations: 3.953 kB / 461.2 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.726e-05/0.4307, allocations: 6.812 kB / 461.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.4307, allocations: 4.391 kB / 461.3 MB, free: 35.86 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.988e-05/0.4308, allocations: 111.8 kB / 461.4 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.4308, allocations: 10.48 kB / 461.4 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/0.4311, allocations: 107.3 kB / 461.5 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4311, allocations: 0 / 461.5 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.4311, allocations: 1.375 kB / 461.5 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.4311, allocations: 3.953 kB / 461.5 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004454/0.4315, allocations: 356.8 kB / 461.8 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4316, allocations: 0 / 461.8 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.4317, allocations: 24.73 kB / 461.9 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.4317, allocations: 1.891 kB / 461.9 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.4317, allocations: 3.812 kB / 461.9 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.4317, allocations: 3.953 kB / 461.9 MB, free: 35.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4317, allocations: 3.906 kB / 461.9 MB, free: 35.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.432, allocations: 221.4 kB / 462.1 MB, free: 35.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.432, allocations: 85.67 kB / 462.2 MB, free: 35.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.4321, allocations: 2.969 kB / 462.2 MB, free: 35.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.245e-05/0.4322, allocations: 7.5 kB / 462.2 MB, free: 35.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.4322, allocations: 10.98 kB / 462.2 MB, free: 35.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.4322, allocations: 3.219 kB / 462.2 MB, free: 35.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.018e-05/0.4323, allocations: 87.17 kB / 462.3 MB, free: 35.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4323, allocations: 0 / 462.3 MB, free: 35.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.4326, allocations: 42.95 kB / 462.3 MB, free: 35.08 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002803/0.4329, allocations: 140.2 kB / 462.5 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.433, allocations: 56.97 kB / 462.5 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.433, allocations: 3.938 kB / 462.5 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.855e-05/0.4331, allocations: 32.44 kB / 462.6 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.4333, allocations: 10.11 kB / 462.6 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.4338, allocations: 192.4 kB / 462.8 MB, free: 34.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.434, allocations: 0.6832 MB / 463.4 MB, free: 34.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.668e-05/0.4341, allocations: 12.78 kB / 463.4 MB, free: 34.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.4341, allocations: 14 kB / 463.5 MB, free: 34.14 MB / 382.1 MB Notification: Performance of SimCode: time 2.234e-06/0.4341, allocations: 0 / 463.5 MB, free: 34.14 MB / 382.1 MB Notification: Performance of Templates: time 0.004992/0.4391, allocations: 1.356 MB / 464.8 MB, free: 34.07 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: