Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_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.007475/0.007475, allocations: 104.1 kB / 15.74 MB, free: 5.984 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.001566/0.001566, allocations: 197.8 kB / 16.68 MB, free: 5.91 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7991/0.7991, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 62.16 kB / 0.5809 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1934, allocations: 80.22 MB / 0.6592 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001846/0.1953, allocations: 0.5789 MB / 0.6598 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1964, allocations: 349.6 kB / 0.6601 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.805e-05/0.1964, allocations: 3.938 kB / 0.6601 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.062e-05/0.1965, allocations: 0 / 0.6601 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.186e-05/0.1965, allocations: 0 / 0.6601 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008203/0.1974, allocations: 123 kB / 0.6603 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.026e-05/0.1975, allocations: 8 kB / 0.6603 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.077e-05/0.1975, allocations: 4 kB / 0.6603 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.25e-05/0.1976, allocations: 0 / 0.6603 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.434e-05/0.1976, allocations: 7.984 kB / 0.6603 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.1977, allocations: 0 / 0.6603 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005377/0.1982, allocations: 279.6 kB / 0.6605 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.1982, allocations: 7.938 kB / 0.6605 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.1983, allocations: 4 kB / 0.6605 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.1986, allocations: 91.78 kB / 0.6606 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.1986, allocations: 0 / 0.6606 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.679e-06/0.1986, allocations: 4 kB / 0.6606 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.1986, allocations: 4 kB / 0.6606 GB, free: 9.281 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0006797/0.1993, allocations: 335.6 kB / 0.661 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.1994, allocations: 12.03 kB / 0.661 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/0.1994, allocations: 30.75 kB / 0.661 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.406e-05/0.1995, allocations: 0.9375 kB / 0.661 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.1997, allocations: 179.1 kB / 0.6612 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1997, allocations: 384 / 0.6612 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.137e-05/0.1998, allocations: 4.281 kB / 0.6612 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.1999, allocations: 38.27 kB / 0.6612 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1999, allocations: 3.938 kB / 0.6612 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1999, allocations: 0 / 0.6612 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1999, allocations: 4 kB / 0.6612 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.9e-05/0.2, allocations: 3.984 kB / 0.6612 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002017/0.2002, allocations: 149.7 kB / 0.6614 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.263e-05/0.2002, allocations: 26.53 kB / 0.6614 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.2003, allocations: 12.92 kB / 0.6614 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008053/0.2011, allocations: 449.5 kB / 0.6618 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.2011, allocations: 38.56 kB / 0.6619 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.2012, allocations: 0 / 0.6619 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0006219/0.2018, allocations: 250.3 kB / 0.6621 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.2018, allocations: 51.41 kB / 0.6622 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.315e-05/0.2019, allocations: 101.8 kB / 0.6623 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.2019, allocations: 25.7 kB / 0.6623 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.202, allocations: 84.48 kB / 0.6624 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.202, allocations: 7.812 kB / 0.6624 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.2021, allocations: 17.72 kB / 0.6624 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.2022, allocations: 314.8 kB / 0.6627 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.823e-05/0.2022, allocations: 8 kB / 0.6627 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.87e-05/0.2022, allocations: 21.66 kB / 0.6627 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.325e-05/0.2023, allocations: 33.64 kB / 0.6628 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2023, allocations: 0 / 0.6628 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001203/0.2024, allocations: 49.64 kB / 0.6628 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2025, allocations: 7.938 kB / 0.6628 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.2025, allocations: 4 kB / 0.6628 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2025, allocations: 0 / 0.6628 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.428e-05/0.2026, allocations: 15.92 kB / 0.6628 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2026, allocations: 0 / 0.6628 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.972e-05/0.2026, allocations: 4 kB / 0.6628 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.2026, allocations: 4.062 kB / 0.6628 GB, free: 6.66 MB / 0.4981 GB 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 0.0001171/0.2027, allocations: 111.3 kB / 0.6629 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.2028, allocations: 3.938 kB / 0.6629 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.2029, allocations: 61.12 kB / 0.663 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.2029, allocations: 3.984 kB / 0.663 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2029, allocations: 0 / 0.663 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2029, allocations: 192 / 0.663 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.2031, allocations: 153.7 kB / 0.6632 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2031, allocations: 0 / 0.6632 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.2031, allocations: 8 kB / 0.6632 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.2032, allocations: 7.922 kB / 0.6632 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.2032, allocations: 4 kB / 0.6632 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2032, allocations: 0 / 0.6632 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2032, allocations: 0 / 0.6632 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.2033, allocations: 73.03 kB / 0.6632 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.2034, allocations: 89.06 kB / 0.6633 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.2034, allocations: 12 kB / 0.6633 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.775e-05/0.2035, allocations: 0 / 0.6633 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.786e-05/0.2035, allocations: 4 kB / 0.6633 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.2035, allocations: 0 / 0.6633 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.294e-05/0.2035, allocations: 75.28 kB / 0.6634 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2035, allocations: 0 / 0.6634 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002389/0.2038, allocations: 27.98 kB / 0.6634 GB, free: 5.93 MB / 0.4981 GB 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.0006364/0.2044, allocations: 0.6438 MB / 0.6641 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.2046, allocations: 23.86 kB / 0.6641 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2046, allocations: 0 / 0.6641 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.772e-05/0.2046, allocations: 8 kB / 0.6641 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.2048, allocations: 5.156 kB / 0.6641 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.2059, allocations: 1.139 MB / 0.6652 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.2062, allocations: 0.6768 MB / 0.6659 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.149e-05/0.2063, allocations: 4 kB / 0.6659 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.2063, allocations: 7.438 kB / 0.6659 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.2063, allocations: 0 / 0.6659 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.229, allocations: 1.738 MB / 0.6676 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/7.725, allocations: 4.578 kB / 0.6676 GB, free: 1.684 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)