Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_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_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.001015/0.001015, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001017/0.001017, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.327/1.327, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7551/0.7551, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 67.77 kB / 0.5012 GB, free: 9.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1525, allocations: 80.2 MB / 0.5795 GB, free: 9.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001807/0.1544, allocations: 0.6699 MB / 0.5802 GB, free: 8.445 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006974/0.1551, allocations: 384.5 kB / 0.5805 GB, free: 8.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.694e-05/0.1551, allocations: 4 kB / 0.5805 GB, free: 8.066 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.866e-05/0.1552, allocations: 3.938 kB / 0.5805 GB, free: 8.062 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.399e-05/0.1552, allocations: 0 / 0.5805 GB, free: 8.062 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.1556, allocations: 81.31 kB / 0.5806 GB, free: 7.988 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.575e-05/0.1556, allocations: 23.98 kB / 0.5806 GB, free: 7.965 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.1557, allocations: 7.984 kB / 0.5807 GB, free: 7.957 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.182e-05/0.1557, allocations: 11.88 kB / 0.5807 GB, free: 7.945 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.666e-05/0.1558, allocations: 15.92 kB / 0.5807 GB, free: 7.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.1558, allocations: 4 kB / 0.5807 GB, free: 7.926 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003585/0.1562, allocations: 271.7 kB / 0.5809 GB, free: 7.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.1562, allocations: 3.984 kB / 0.5809 GB, free: 7.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.1562, allocations: 15.92 kB / 0.581 GB, free: 7.641 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.1564, allocations: 99.78 kB / 0.5811 GB, free: 7.543 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1564, allocations: 0 / 0.5811 GB, free: 7.543 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1564, allocations: 0 / 0.5811 GB, free: 7.543 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1564, allocations: 0 / 0.5811 GB, free: 7.543 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.0003955/0.1568, allocations: 363.7 kB / 0.5814 GB, free: 7.137 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1569, allocations: 12.03 kB / 0.5814 GB, free: 7.125 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.294e-05/0.1569, allocations: 30.75 kB / 0.5814 GB, free: 7.086 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.157, allocations: 8.938 kB / 0.5815 GB, free: 7.078 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.1571, allocations: 172.3 kB / 0.5816 GB, free: 6.871 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1571, allocations: 8.359 kB / 0.5816 GB, free: 6.863 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.1571, allocations: 4.375 kB / 0.5816 GB, free: 6.859 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.1572, allocations: 50.19 kB / 0.5817 GB, free: 6.805 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1573, allocations: 7.938 kB / 0.5817 GB, free: 6.797 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1573, allocations: 0 / 0.5817 GB, free: 6.797 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1573, allocations: 3.938 kB / 0.5817 GB, free: 6.793 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.163e-05/0.1573, allocations: 27.97 kB / 0.5817 GB, free: 6.766 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.1575, allocations: 161.7 kB / 0.5819 GB, free: 6.559 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.838e-05/0.1576, allocations: 58.55 kB / 0.5819 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.803e-05/0.1577, allocations: 20.86 kB / 0.5819 GB, free: 6.469 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006603/0.1583, allocations: 465.5 kB / 0.5824 GB, free: 5.922 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.1584, allocations: 34.5 kB / 0.5824 GB, free: 5.879 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.1584, allocations: 0 / 0.5824 GB, free: 5.879 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001205/0.1596, allocations: 0.5955 MB / 0.583 GB, free: 5.191 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.1596, allocations: 51.41 kB / 0.5831 GB, free: 5.129 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.606e-05/0.1597, allocations: 97.84 kB / 0.5831 GB, free: 5.023 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1597, allocations: 33.7 kB / 0.5832 GB, free: 4.984 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.1597, allocations: 80.14 kB / 0.5833 GB, free: 4.902 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.1598, allocations: 35.45 kB / 0.5833 GB, free: 4.867 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.1598, allocations: 29.72 kB / 0.5833 GB, free: 4.832 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.065e-05/0.1599, allocations: 322.8 kB / 0.5836 GB, free: 4.508 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.935e-05/0.16, allocations: 16 kB / 0.5836 GB, free: 4.492 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.83e-05/0.16, allocations: 23.98 kB / 0.5837 GB, free: 4.469 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.856e-05/0.1601, allocations: 52.86 kB / 0.5837 GB, free: 4.414 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1601, allocations: 4 kB / 0.5837 GB, free: 4.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001531/0.1603, allocations: 104 kB / 0.5838 GB, free: 4.305 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1603, allocations: 9.719 kB / 0.5838 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1603, allocations: 0 / 0.5838 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.1604, allocations: 4 kB / 0.5838 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1605, allocations: 19.98 kB / 0.5838 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1605, allocations: 4 kB / 0.5839 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.324e-05/0.1605, allocations: 0 / 0.5839 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.1605, allocations: 11.98 kB / 0.5839 GB, free: 4.258 MB / 494.1 MB 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 7.512e-05/0.1606, allocations: 114.4 kB / 0.584 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.1606, allocations: 11.84 kB / 0.584 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.1608, allocations: 101.6 kB / 0.5841 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1608, allocations: 8 kB / 0.5841 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1608, allocations: 0 / 0.5841 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1609, allocations: 0 / 0.5841 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.1612, allocations: 358.6 kB / 0.5844 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1612, allocations: 3.938 kB / 0.5844 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.1613, allocations: 16 kB / 0.5844 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.1613, allocations: 7.969 kB / 0.5845 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1614, allocations: 4 kB / 0.5845 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1614, allocations: 0 / 0.5845 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1614, allocations: 0 / 0.5845 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.1616, allocations: 226.2 kB / 0.5847 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.1617, allocations: 85.19 kB / 0.5848 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.1617, allocations: 7.969 kB / 0.5848 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.16e-05/0.1618, allocations: 0 / 0.5848 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.141e-05/0.1618, allocations: 11.98 kB / 0.5848 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.1618, allocations: 4 kB / 0.5848 GB, free: 3.215 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.957e-05/0.1619, allocations: 79.22 kB / 0.5849 GB, free: 3.137 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1619, allocations: 8.062 kB / 0.5849 GB, free: 3.129 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.1621, allocations: 47.98 kB / 0.5849 GB, free: 3.082 MB / 494.1 MB 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.0005966/0.1627, allocations: 0.7865 MB / 0.5857 GB, free: 2.266 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.1629, allocations: 59.92 kB / 0.5857 GB, free: 2.207 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1629, allocations: 0 / 0.5857 GB, free: 2.207 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.798e-05/0.1629, allocations: 39.98 kB / 0.5858 GB, free: 2.168 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.1632, allocations: 10.81 kB / 0.5858 GB, free: 2.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.1643, allocations: 1.414 MB / 0.5872 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.1646, allocations: 0.6849 MB / 0.5878 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.147e-05/0.1646, allocations: 15.94 kB / 0.5878 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.496e-05/0.1647, allocations: 15.44 kB / 0.5879 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1647, allocations: 0 / 0.5879 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01063/0.1753, allocations: 2.31 MB / 0.5901 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.1755, allocations: 223.1 kB / 0.5903 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/1.874, allocations: 0 / 0.5903 GB, free: 13.52 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)