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.005113/0.005113, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001337/0.001337, allocations: 201.3 kB / 16.68 MB, free: 5.934 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8485/0.8485, allocations: 135.6 MB / 426.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 73.78 kB / 0.5858 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1702, allocations: 81.01 MB / 0.6649 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001837/0.1721, allocations: 0.6148 MB / 0.6655 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007642/0.1729, allocations: 353.6 kB / 0.6658 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/0.1729, allocations: 0 / 0.6658 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.512e-05/0.1729, allocations: 0 / 0.6658 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.264e-05/0.173, allocations: 3.938 kB / 0.6658 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005299/0.1735, allocations: 119.7 kB / 0.666 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.914e-05/0.1736, allocations: 19.98 kB / 0.666 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.1736, allocations: 0 / 0.666 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.478e-05/0.1737, allocations: 15.92 kB / 0.666 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.402e-05/0.1738, allocations: 19.91 kB / 0.666 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1738, allocations: 4 kB / 0.666 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004235/0.1742, allocations: 267.7 kB / 0.6663 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.1742, allocations: 4 kB / 0.6663 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.1743, allocations: 15.92 kB / 0.6663 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.1745, allocations: 107.9 kB / 0.6664 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1745, allocations: 3.938 kB / 0.6664 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1745, allocations: 0 / 0.6664 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.1745, allocations: 0 / 0.6664 GB, free: 4.055 MB / 0.4981 GB 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.0004574/0.175, allocations: 363.2 kB / 0.6667 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.175, allocations: 9.109 kB / 0.6668 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.1751, allocations: 30.75 kB / 0.6668 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.1751, allocations: 4.938 kB / 0.6668 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.1753, allocations: 164.3 kB / 0.6669 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1753, allocations: 12.38 kB / 0.667 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.1753, allocations: 12.27 kB / 0.667 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.1755, allocations: 46.23 kB / 0.667 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1755, allocations: 3.938 kB / 0.667 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.1755, allocations: 11.94 kB / 0.667 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1755, allocations: 0 / 0.667 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.906e-05/0.1756, allocations: 23.92 kB / 0.6671 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.1758, allocations: 157.7 kB / 0.6672 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.1759, allocations: 62.62 kB / 0.6673 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.705e-05/0.1759, allocations: 29 kB / 0.6673 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007453/0.1767, allocations: 469.4 kB / 0.6677 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.1767, allocations: 30.56 kB / 0.6678 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1767, allocations: 0 / 0.6678 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001338/0.1781, allocations: 0.5954 MB / 0.6683 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.1781, allocations: 55.41 kB / 0.6684 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.855e-05/0.1782, allocations: 97.86 kB / 0.6685 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.1782, allocations: 29.7 kB / 0.6685 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.1783, allocations: 84.14 kB / 0.6686 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.1783, allocations: 35.69 kB / 0.6686 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.1784, allocations: 29.7 kB / 0.6687 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1785, allocations: 310.8 kB / 0.669 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.353e-05/0.1786, allocations: 23.98 kB / 0.669 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.994e-05/0.1787, allocations: 31.61 kB / 0.669 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.1788, allocations: 56.86 kB / 0.6691 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1788, allocations: 0 / 0.6691 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001676/0.1789, allocations: 101.5 kB / 0.6692 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.179, allocations: 11.98 kB / 0.6692 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.179, allocations: 0 / 0.6692 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.179, allocations: 0 / 0.6692 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.98e-05/0.1791, allocations: 16 kB / 0.6692 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.1791, allocations: 7.984 kB / 0.6692 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.209e-05/0.1791, allocations: 0 / 0.6692 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.1792, allocations: 8 kB / 0.6692 GB, free: 0.7695 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 9.581e-05/0.1793, allocations: 117.8 kB / 0.6693 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.1793, allocations: 11.94 kB / 0.6693 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001988/0.1795, allocations: 105.6 kB / 0.6694 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1795, allocations: 4 kB / 0.6694 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1795, allocations: 0 / 0.6694 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1795, allocations: 3.984 kB / 0.6694 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.1799, allocations: 358.4 kB / 0.6698 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.18, allocations: 8 kB / 0.6698 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.1801, allocations: 16 kB / 0.6698 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1801, allocations: 0 / 0.6698 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1801, allocations: 4 kB / 0.6698 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1801, allocations: 0 / 0.6698 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1801, allocations: 3.984 kB / 0.6698 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.1804, allocations: 219.5 kB / 0.67 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/0.1805, allocations: 85.09 kB / 0.6701 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.1805, allocations: 12.08 kB / 0.6701 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.76e-05/0.1806, allocations: 0 / 0.6701 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.183e-05/0.1806, allocations: 7.984 kB / 0.6701 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1806, allocations: 11.94 kB / 0.6701 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.156e-05/0.1807, allocations: 75.28 kB / 0.6702 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1807, allocations: 0 / 0.6702 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002859/0.181, allocations: 51.86 kB / 0.6703 GB, free: 15.59 MB / 0.5137 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.0007268/0.1817, allocations: 0.7865 MB / 0.671 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.1819, allocations: 63.91 kB / 0.6711 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1819, allocations: 0 / 0.6711 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.957e-05/0.182, allocations: 40.47 kB / 0.6711 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.1822, allocations: 6.062 kB / 0.6711 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.1837, allocations: 1.407 MB / 0.6725 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.1841, allocations: 0.6885 MB / 0.6732 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.93e-05/0.1841, allocations: 11.94 kB / 0.6732 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/0.1842, allocations: 19.42 kB / 0.6732 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.1842, allocations: 0 / 0.6732 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.2101, allocations: 2.472 MB / 0.6756 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/8.125, allocations: 2.875 kB / 0.6756 GB, free: 10.11 MB / 0.5137 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)