Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001067/0.001067, allocations: 189 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9243/0.9243, allocations: 135.1 MB / 425.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 72.67 kB / 0.505 GB, free: 5.508 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1745, allocations: 80.92 MB / 0.584 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001977/0.1765, allocations: 0.6792 MB / 0.5847 GB, free: 4.074 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006896/0.1772, allocations: 344.5 kB / 0.585 GB, free: 3.738 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.1773, allocations: 0 / 0.585 GB, free: 3.738 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.914e-05/0.1773, allocations: 3.938 kB / 0.585 GB, free: 3.734 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.273e-05/0.1774, allocations: 3.938 kB / 0.585 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.1778, allocations: 99.84 kB / 0.5851 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.709e-05/0.1779, allocations: 23.97 kB / 0.5851 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.178, allocations: 7.984 kB / 0.5851 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.778e-05/0.178, allocations: 4 kB / 0.5851 GB, free: 3.598 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.1781, allocations: 19.86 kB / 0.5851 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.1781, allocations: 4 kB / 0.5852 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003611/0.1784, allocations: 271.7 kB / 0.5854 GB, free: 3.309 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.1785, allocations: 11.91 kB / 0.5854 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.1785, allocations: 11.94 kB / 0.5854 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.1787, allocations: 103.8 kB / 0.5855 GB, free: 3.184 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1787, allocations: 0 / 0.5855 GB, free: 3.184 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1787, allocations: 0 / 0.5855 GB, free: 3.184 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1787, allocations: 0 / 0.5855 GB, free: 3.184 MB / 494.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.0004066/0.1791, allocations: 367.7 kB / 0.5859 GB, free: 2.773 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1792, allocations: 8.031 kB / 0.5859 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.1792, allocations: 30.75 kB / 0.5859 GB, free: 2.727 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.1793, allocations: 12.88 kB / 0.5859 GB, free: 2.715 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.1794, allocations: 168.3 kB / 0.5861 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.1794, allocations: 8.375 kB / 0.5861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1794, allocations: 384 / 0.5861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.1796, allocations: 50.25 kB / 0.5861 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1796, allocations: 11.86 kB / 0.5862 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.1796, allocations: 8 kB / 0.5862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1796, allocations: 0 / 0.5862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.233e-05/0.1797, allocations: 15.98 kB / 0.5862 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.1798, allocations: 165.7 kB / 0.5863 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.1799, allocations: 58.55 kB / 0.5864 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/0.18, allocations: 24.86 kB / 0.5864 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006679/0.1807, allocations: 461.5 kB / 0.5869 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.1807, allocations: 34.5 kB / 0.5869 GB, free: 1.523 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1807, allocations: 3.938 kB / 0.5869 GB, free: 1.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.00129/0.182, allocations: 0.5878 MB / 0.5875 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.1821, allocations: 51.41 kB / 0.5875 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.59e-05/0.1821, allocations: 97.84 kB / 0.5876 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.1822, allocations: 29.7 kB / 0.5876 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.1822, allocations: 88.14 kB / 0.5877 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.1822, allocations: 39.36 kB / 0.5878 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.1823, allocations: 33.64 kB / 0.5878 GB, free: 480 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.1824, allocations: 314.8 kB / 0.5881 GB, free: 156 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.247e-05/0.1824, allocations: 19.98 kB / 0.5881 GB, free: 136 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.804e-05/0.1825, allocations: 27.98 kB / 0.5881 GB, free: 108 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.699e-05/0.1826, allocations: 55.98 kB / 0.5882 GB, free: 52 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1826, allocations: 0 / 0.5882 GB, free: 52 kB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001671/0.1828, allocations: 109.5 kB / 0.5883 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1828, allocations: 4 kB / 0.5883 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1828, allocations: 0 / 0.5883 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1828, allocations: 4 kB / 0.5883 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1829, allocations: 19.98 kB / 0.5883 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1829, allocations: 96 / 0.5883 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.836e-05/0.183, allocations: 11.94 kB / 0.5883 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/0.183, allocations: 0 / 0.5883 GB, free: 15.9 MB / 0.4981 GB 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 8.006e-05/0.1831, allocations: 117.8 kB / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.1831, allocations: 15.84 kB / 0.5885 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/0.1833, allocations: 105.5 kB / 0.5886 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.1833, allocations: 11.97 kB / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1833, allocations: 0 / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1833, allocations: 0 / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.1837, allocations: 346.5 kB / 0.5889 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1837, allocations: 4 kB / 0.5889 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.1838, allocations: 16 kB / 0.5889 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1838, allocations: 3.984 kB / 0.5889 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1838, allocations: 4 kB / 0.5889 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1838, allocations: 4 kB / 0.5889 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1838, allocations: 0 / 0.5889 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.1841, allocations: 219.2 kB / 0.5891 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.1842, allocations: 89.12 kB / 0.5892 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.1842, allocations: 0 / 0.5892 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.089e-05/0.1843, allocations: 8 kB / 0.5892 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.1843, allocations: 7.984 kB / 0.5892 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.1843, allocations: 8.062 kB / 0.5893 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.033e-05/0.1843, allocations: 75.28 kB / 0.5893 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1843, allocations: 0 / 0.5893 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000263/0.1846, allocations: 47.98 kB / 0.5894 GB, free: 14.73 MB / 0.4981 GB 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.0005767/0.1852, allocations: 0.7943 MB / 0.5901 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.1853, allocations: 67.98 kB / 0.5902 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1854, allocations: 0 / 0.5902 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.548e-05/0.1854, allocations: 31.92 kB / 0.5902 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.1856, allocations: 8 kB / 0.5903 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.1868, allocations: 1.413 MB / 0.5916 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.1871, allocations: 0.6923 MB / 0.5923 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.235e-05/0.1871, allocations: 16 kB / 0.5923 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.1872, allocations: 15.44 kB / 0.5923 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of SimCode: time 1.363e-06/0.1872, allocations: 4 kB / 0.5923 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.201, allocations: 2.348 MB / 0.5946 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002445/0.2013, allocations: 226.7 kB / 0.5948 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/1.903, allocations: 0 / 0.5948 GB, free: 9.141 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)