Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.001037/0.001037, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001052/0.001053, allocations: 195.4 kB / 16.14 MB, free: 6.66 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.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9156/0.9156, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63 kB / 0.5048 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1603, allocations: 80.93 MB / 0.5838 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001674/0.162, allocations: 0.6388 MB / 0.5844 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006572/0.1627, allocations: 372.5 kB / 0.5848 GB, free: 3.879 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.223e-05/0.1627, allocations: 7.938 kB / 0.5848 GB, free: 3.871 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.1627, allocations: 3.938 kB / 0.5848 GB, free: 3.867 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.928e-05/0.1627, allocations: 0 / 0.5848 GB, free: 3.867 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.1631, allocations: 74.84 kB / 0.5849 GB, free: 3.797 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.922e-05/0.1631, allocations: 8 kB / 0.5849 GB, free: 3.789 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.1632, allocations: 7.922 kB / 0.5849 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.007e-05/0.1632, allocations: 8 kB / 0.5849 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.983e-05/0.1633, allocations: 0 / 0.5849 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1633, allocations: 4 kB / 0.5849 GB, free: 3.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003392/0.1636, allocations: 271.7 kB / 0.5852 GB, free: 3.504 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.1636, allocations: 7.969 kB / 0.5852 GB, free: 3.496 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.1637, allocations: 3.938 kB / 0.5852 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.1638, allocations: 91.86 kB / 0.5853 GB, free: 3.402 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1638, allocations: 0 / 0.5853 GB, free: 3.402 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1639, allocations: 0 / 0.5853 GB, free: 3.402 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.1639, allocations: 0 / 0.5853 GB, free: 3.402 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003144/0.1642, allocations: 343.5 kB / 0.5856 GB, free: 3.016 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.1642, allocations: 8.031 kB / 0.5856 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.282e-05/0.1643, allocations: 42.67 kB / 0.5856 GB, free: 2.957 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.1643, allocations: 8.875 kB / 0.5857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.5e-05/0.1644, allocations: 164.4 kB / 0.5858 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.1644, allocations: 384 / 0.5858 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.1645, allocations: 4.375 kB / 0.5858 GB, free: 2.746 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.534e-05/0.1646, allocations: 34.25 kB / 0.5858 GB, free: 2.707 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1646, allocations: 7.938 kB / 0.5859 GB, free: 2.699 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1646, allocations: 0 / 0.5859 GB, free: 2.699 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1646, allocations: 0 / 0.5859 GB, free: 2.699 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.893e-05/0.1646, allocations: 4 kB / 0.5859 GB, free: 2.695 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.1648, allocations: 154 kB / 0.586 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.692e-05/0.1648, allocations: 22.55 kB / 0.586 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.1648, allocations: 12.92 kB / 0.586 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006709/0.1655, allocations: 457.5 kB / 0.5865 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1655, allocations: 38.55 kB / 0.5865 GB, free: 1.863 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1656, allocations: 0 / 0.5865 GB, free: 1.863 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004663/0.166, allocations: 258.4 kB / 0.5868 GB, free: 1.559 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.1661, allocations: 55.41 kB / 0.5868 GB, free: 1.492 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.929e-05/0.1661, allocations: 93.86 kB / 0.5869 GB, free: 1.391 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1661, allocations: 25.7 kB / 0.5869 GB, free: 1.359 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.896e-05/0.1662, allocations: 84.14 kB / 0.587 GB, free: 1.273 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.1662, allocations: 7.906 kB / 0.587 GB, free: 1.266 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.1662, allocations: 17.7 kB / 0.587 GB, free: 1.242 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.623e-05/0.1663, allocations: 314.8 kB / 0.5873 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.1664, allocations: 12.06 kB / 0.5873 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.813e-05/0.1664, allocations: 25.64 kB / 0.5874 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.867e-05/0.1664, allocations: 21.72 kB / 0.5874 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1665, allocations: 0 / 0.5874 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.493e-05/0.1666, allocations: 49.64 kB / 0.5874 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1666, allocations: 15.92 kB / 0.5874 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.1666, allocations: 4.062 kB / 0.5875 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1666, allocations: 0 / 0.5875 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.566e-05/0.1667, allocations: 4 kB / 0.5875 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1667, allocations: 4 kB / 0.5875 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.021e-05/0.1667, allocations: 0 / 0.5875 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1667, allocations: 7.938 kB / 0.5875 GB, free: 0.7656 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.724e-05/0.1668, allocations: 113.8 kB / 0.5876 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.1668, allocations: 7.844 kB / 0.5876 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.1669, allocations: 61.11 kB / 0.5876 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.167, allocations: 0 / 0.5876 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.167, allocations: 4 kB / 0.5876 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.167, allocations: 0 / 0.5876 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.647e-05/0.1671, allocations: 153.7 kB / 0.5878 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.1671, allocations: 0 / 0.5878 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-05/0.1671, allocations: 4 kB / 0.5878 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.1671, allocations: 3.938 kB / 0.5878 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.1672, allocations: 0 / 0.5878 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1672, allocations: 0 / 0.5878 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1672, allocations: 4 kB / 0.5878 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.1673, allocations: 89.22 kB / 0.5879 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.463e-05/0.1674, allocations: 81.05 kB / 0.588 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.1674, allocations: 0 / 0.588 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.944e-05/0.1674, allocations: 0 / 0.588 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.1674, allocations: 4.031 kB / 0.588 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.1675, allocations: 0 / 0.588 GB, free: 148 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.138e-05/0.1675, allocations: 91.33 kB / 0.5881 GB, free: 56 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1675, allocations: 0 / 0.5881 GB, free: 56 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002057/0.1677, allocations: 16 kB / 0.5881 GB, free: 40 kB / 494.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 (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.0004503/0.1682, allocations: 0.632 MB / 0.5887 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.956e-05/0.1683, allocations: 28.08 kB / 0.5887 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1683, allocations: 0 / 0.5887 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.809e-05/0.1683, allocations: 8 kB / 0.5887 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.1684, allocations: 3.5 kB / 0.5887 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000866/0.1693, allocations: 1.141 MB / 0.5898 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.1695, allocations: 0.677 MB / 0.5905 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.3e-05/0.1696, allocations: 8 kB / 0.5905 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.1696, allocations: 11.44 kB / 0.5905 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of SimCode: time 1.503e-06/0.1696, allocations: 0 / 0.5905 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01146/0.1811, allocations: 1.579 MB / 0.5921 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.1813, allocations: 223.5 kB / 0.5923 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/1.789, allocations: 3.938 kB / 0.5923 GB, free: 11.71 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)