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.001051/0.001051, 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.001469/0.001469, 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.298/1.298, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.904/0.904, allocations: 135.3 MB / 426.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003303, allocations: 17.09 kB / 0.5071 GB, free: 5.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1545, allocations: 82.32 MB / 0.5875 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0006319/0.1552, allocations: 339 kB / 0.5878 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005718/0.1558, allocations: 316.9 kB / 0.5881 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.658e-05/0.1558, allocations: 0 / 0.5881 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.072e-05/0.1558, allocations: 3.938 kB / 0.5881 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.485e-05/0.1558, allocations: 0 / 0.5881 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.1562, allocations: 87.83 kB / 0.5882 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.899e-05/0.1562, allocations: 19.92 kB / 0.5882 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.291e-05/0.1563, allocations: 0 / 0.5882 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.249e-05/0.1563, allocations: 15.98 kB / 0.5882 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.63e-05/0.1564, allocations: 11.92 kB / 0.5882 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.1564, allocations: 0 / 0.5882 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003345/0.1567, allocations: 263.7 kB / 0.5885 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.1567, allocations: 4 kB / 0.5885 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.1568, allocations: 37.64 kB / 0.5885 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.1569, allocations: 63.88 kB / 0.5886 GB, free: 1.742 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1569, allocations: 3.984 kB / 0.5886 GB, free: 1.738 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1569, allocations: 0 / 0.5886 GB, free: 1.738 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.155e-06/0.1569, allocations: 0 / 0.5886 GB, free: 1.738 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.000357/0.1573, allocations: 355.5 kB / 0.5889 GB, free: 1.344 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.1573, allocations: 8.031 kB / 0.5889 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/0.1573, allocations: 34.56 kB / 0.589 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.1574, allocations: 0 / 0.589 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.1576, allocations: 175 kB / 0.5891 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.1576, allocations: 3.938 kB / 0.5892 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.1576, allocations: 11.91 kB / 0.5892 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.878e-05/0.1577, allocations: 45.69 kB / 0.5892 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1577, allocations: 7.875 kB / 0.5892 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.1577, allocations: 4 kB / 0.5892 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1578, allocations: 0 / 0.5892 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.709e-05/0.1578, allocations: 23.97 kB / 0.5892 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.158, allocations: 165.6 kB / 0.5894 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.298e-05/0.1581, allocations: 58.56 kB / 0.5895 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.203e-05/0.1582, allocations: 28.84 kB / 0.5895 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006317/0.1588, allocations: 465.5 kB / 0.5899 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.1589, allocations: 34.5 kB / 0.59 GB, free: 84 kB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1589, allocations: 0 / 0.59 GB, free: 84 kB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001166/0.16, allocations: 0.5911 MB / 0.5905 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.1601, allocations: 51.41 kB / 0.5906 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.553e-05/0.1601, allocations: 101.8 kB / 0.5907 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1602, allocations: 29.7 kB / 0.5907 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.1602, allocations: 84.14 kB / 0.5908 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.483e-05/0.1602, allocations: 39.44 kB / 0.5908 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.1602, allocations: 0 / 0.5908 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1604, allocations: 322.8 kB / 0.5911 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.87e-05/0.1604, allocations: 19.98 kB / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.711e-05/0.1604, allocations: 23.98 kB / 0.5912 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.627e-05/0.1605, allocations: 24 kB / 0.5912 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1605, allocations: 0 / 0.5912 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001555/0.1607, allocations: 105.3 kB / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.1607, allocations: 4 kB / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1607, allocations: 0 / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.1607, allocations: 4 kB / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1608, allocations: 19.98 kB / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1608, allocations: 0 / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.357e-05/0.1609, allocations: 8 kB / 0.5913 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1609, allocations: 4.094 kB / 0.5913 GB, free: 14.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.236e-05/0.161, allocations: 121.7 kB / 0.5915 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.161, allocations: 7.906 kB / 0.5915 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.1612, allocations: 105.5 kB / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1612, allocations: 0 / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1612, allocations: 4 kB / 0.5916 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1612, allocations: 0 / 0.5916 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003496/0.1616, allocations: 354.5 kB / 0.5919 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1616, allocations: 192 / 0.5919 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.1617, allocations: 27.92 kB / 0.5919 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1617, allocations: 0 / 0.5919 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.1617, allocations: 3.984 kB / 0.5919 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1617, allocations: 0 / 0.5919 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1617, allocations: 0 / 0.5919 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.162, allocations: 227.3 kB / 0.5922 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.1621, allocations: 85.14 kB / 0.5922 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.1621, allocations: 3.984 kB / 0.5922 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.056e-05/0.1622, allocations: 4 kB / 0.5922 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.53e-05/0.1622, allocations: 4 kB / 0.5922 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.1622, allocations: 7.984 kB / 0.5923 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.446e-05/0.1622, allocations: 79.28 kB / 0.5923 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1622, allocations: 3.938 kB / 0.5923 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002744/0.1625, allocations: 40 kB / 0.5924 GB, free: 13.37 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 (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.0006186/0.1632, allocations: 0.7905 MB / 0.5931 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001255/0.1633, allocations: 66.66 kB / 0.5932 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1633, allocations: 0 / 0.5932 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.724e-05/0.1634, allocations: 35.92 kB / 0.5932 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.1636, allocations: 8 kB / 0.5932 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006807/0.1643, allocations: 0.5118 MB / 0.5937 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.1645, allocations: 0.6848 MB / 0.5944 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.23e-05/0.1646, allocations: 23.98 kB / 0.5944 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.1646, allocations: 15.44 kB / 0.5945 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1646, allocations: 3.938 kB / 0.5945 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01119/0.1758, allocations: 2.228 MB / 0.5966 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/0.176, allocations: 212.5 kB / 0.5968 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/1.893, allocations: 0 / 0.5968 GB, free: 8.852 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/linux/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) Environment - environmentSimulation: