Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0007902/0.0007902, allocations: 91.61 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.0008839/0.000884, 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 4.0.0+maint.om/package.mo): time 1.153/1.153, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6479/0.6479, allocations: 132.3 MB / 423.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002688/0.0002688, allocations: 15.98 kB / 0.5034 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3281, allocations: 81.58 MB / 0.5831 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0005332/0.3286, allocations: 328.5 kB / 0.5834 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004575/0.3291, allocations: 308.3 kB / 0.5837 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.754e-05/0.3291, allocations: 0 / 0.5837 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.053e-05/0.3292, allocations: 0 / 0.5837 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.565e-05/0.3292, allocations: 1 kB / 0.5837 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.3295, allocations: 80 kB / 0.5838 GB, free: 3.504 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.765e-05/0.3295, allocations: 14.25 kB / 0.5838 GB, free: 3.496 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.713e-05/0.3296, allocations: 1.359 kB / 0.5838 GB, free: 3.496 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.533e-05/0.3296, allocations: 3.188 kB / 0.5838 GB, free: 3.496 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.286e-05/0.3296, allocations: 7.156 kB / 0.5838 GB, free: 3.492 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.3296, allocations: 0 / 0.5838 GB, free: 3.492 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003411/0.33, allocations: 270.2 kB / 0.5841 GB, free: 3.426 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.785e-06/0.33, allocations: 5.25 kB / 0.5841 GB, free: 3.422 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.263e-05/0.33, allocations: 26.92 kB / 0.5841 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.3301, allocations: 54.59 kB / 0.5841 GB, free: 3.379 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3301, allocations: 4 kB / 0.5841 GB, free: 3.375 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3301, allocations: 0.75 kB / 0.5841 GB, free: 3.375 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.655e-06/0.3302, allocations: 0 / 0.5841 GB, free: 3.375 MB / 430.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.0002161/0.3304, allocations: 336.2 kB / 0.5845 GB, free: 3.012 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.3304, allocations: 10.22 kB / 0.5845 GB, free: 3.012 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.3305, allocations: 5.312 kB / 0.5845 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.46e-05/0.3305, allocations: 165.9 kB / 0.5846 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.3305, allocations: 1 kB / 0.5846 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.3306, allocations: 0.6562 kB / 0.5846 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.388e-05/0.3306, allocations: 40.92 kB / 0.5847 GB, free: 2.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.3307, allocations: 0 / 0.5847 GB, free: 2.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-06/0.3307, allocations: 0 / 0.5847 GB, free: 2.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3307, allocations: 0.5 kB / 0.5847 GB, free: 2.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.669e-05/0.3307, allocations: 7.219 kB / 0.5847 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001045/0.3308, allocations: 156.8 kB / 0.5848 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.681e-05/0.3309, allocations: 19.97 kB / 0.5849 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.151e-05/0.3309, allocations: 11.45 kB / 0.5849 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000508/0.3314, allocations: 460.6 kB / 0.5853 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.3314, allocations: 36.2 kB / 0.5853 GB, free: 2.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3314, allocations: 3.938 kB / 0.5853 GB, free: 2.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003669/0.3318, allocations: 253.8 kB / 0.5856 GB, free: 1.754 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.43e-05/0.3318, allocations: 52.16 kB / 0.5856 GB, free: 1.691 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.587e-05/0.3319, allocations: 101.8 kB / 0.5857 GB, free: 1.586 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.332e-06/0.3319, allocations: 26.7 kB / 0.5858 GB, free: 1.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.164e-05/0.3319, allocations: 85.41 kB / 0.5858 GB, free: 1.469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.3319, allocations: 10.66 kB / 0.5859 GB, free: 1.461 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.3319, allocations: 0 / 0.5859 GB, free: 1.461 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.055e-05/0.3319, allocations: 316.6 kB / 0.5862 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.332, allocations: 4.812 kB / 0.5862 GB, free: 1.145 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.03e-05/0.332, allocations: 19.7 kB / 0.5862 GB, free: 1.125 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.943e-05/0.332, allocations: 4.938 kB / 0.5862 GB, free: 1.125 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.332, allocations: 4.938 kB / 0.5862 GB, free: 1.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.898e-05/0.3321, allocations: 55.69 kB / 0.5862 GB, free: 1.078 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.3321, allocations: 6.297 kB / 0.5862 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.227e-06/0.3321, allocations: 0 / 0.5862 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3321, allocations: 0.9375 kB / 0.5862 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.838e-05/0.3322, allocations: 8.047 kB / 0.5863 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.3322, allocations: 1.375 kB / 0.5863 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.559e-05/0.3322, allocations: 144 / 0.5863 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.3322, allocations: 2.953 kB / 0.5863 GB, free: 1.078 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/0.3323, allocations: 121.2 kB / 0.5864 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.3323, allocations: 6.297 kB / 0.5864 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.79e-05/0.3324, allocations: 62.58 kB / 0.5864 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.3324, allocations: 0 / 0.5864 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3324, allocations: 1.547 kB / 0.5864 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3324, allocations: 4 kB / 0.5864 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.443e-05/0.3325, allocations: 157.9 kB / 0.5866 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3325, allocations: 4 kB / 0.5866 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.3325, allocations: 9.734 kB / 0.5866 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3326, allocations: 1.062 kB / 0.5866 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.3326, allocations: 2.016 kB / 0.5866 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3326, allocations: 0 / 0.5866 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3326, allocations: 0 / 0.5866 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.3327, allocations: 83.31 kB / 0.5867 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.288e-05/0.3327, allocations: 78.8 kB / 0.5868 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.3327, allocations: 5.312 kB / 0.5868 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.281e-05/0.3328, allocations: 5.516 kB / 0.5868 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.3328, allocations: 2.531 kB / 0.5868 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.3328, allocations: 2.469 kB / 0.5868 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.54e-05/0.3328, allocations: 81.16 kB / 0.5869 GB, free: 440 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3328, allocations: 0 / 0.5869 GB, free: 440 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001874/0.333, allocations: 24.34 kB / 0.5869 GB, free: 436 kB / 430.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 (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.0001357/0.3331, allocations: 124.4 kB / 0.587 GB, free: 340 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.126e-05/0.3332, allocations: 17.27 kB / 0.587 GB, free: 336 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.3332, allocations: 0 / 0.587 GB, free: 336 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.669e-05/0.3332, allocations: 14.38 kB / 0.587 GB, free: 328 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.3334, allocations: 8.234 kB / 0.587 GB, free: 324 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001552/0.3335, allocations: 113.9 kB / 0.5871 GB, free: 204 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.3337, allocations: 0.6763 MB / 0.5878 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.7e-05/0.3338, allocations: 8.484 kB / 0.5878 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.259e-05/0.3338, allocations: 9.219 kB / 0.5878 GB, free: 15.49 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3338, allocations: 0 / 0.5878 GB, free: 15.49 MB / 446.1 MB Notification: Performance of Templates: time 0.002609/0.3364, allocations: 0.8321 MB / 0.5886 GB, free: 15.41 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)