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.001235/0.001235, 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.001125/0.001125, allocations: 192.2 kB / 16.13 MB, free: 6.715 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.358/1.358, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7478/0.7478, allocations: 132.2 MB / 422.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 59.03 kB / 0.5012 GB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3736, allocations: 80.2 MB / 0.5795 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001647/0.3753, allocations: 0.6577 MB / 0.5802 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006413/0.376, allocations: 366.1 kB / 0.5805 GB, free: 3.918 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.092e-05/0.376, allocations: 0 / 0.5805 GB, free: 3.918 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/0.376, allocations: 3.938 kB / 0.5805 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.951e-05/0.376, allocations: 1.188 kB / 0.5805 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.3764, allocations: 75 kB / 0.5806 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.739e-05/0.3764, allocations: 15.69 kB / 0.5806 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.634e-05/0.3764, allocations: 6.016 kB / 0.5806 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.63e-05/0.3765, allocations: 2.75 kB / 0.5806 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.694e-05/0.3765, allocations: 2.828 kB / 0.5806 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.3765, allocations: 1.375 kB / 0.5806 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003801/0.3769, allocations: 270.1 kB / 0.5809 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.3769, allocations: 1.469 kB / 0.5809 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.799e-05/0.377, allocations: 10.22 kB / 0.5809 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.3771, allocations: 86.06 kB / 0.581 GB, free: 3.773 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3771, allocations: 4.75 kB / 0.581 GB, free: 3.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3771, allocations: 0 / 0.581 GB, free: 3.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.3772, allocations: 1.719 kB / 0.581 GB, free: 3.77 MB / 430.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.0002587/0.3774, allocations: 342.2 kB / 0.5813 GB, free: 3.398 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3775, allocations: 9.844 kB / 0.5813 GB, free: 3.398 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.644e-05/0.3775, allocations: 40.88 kB / 0.5813 GB, free: 3.352 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.3775, allocations: 5.875 kB / 0.5813 GB, free: 3.348 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.07e-05/0.3776, allocations: 162.2 kB / 0.5815 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.3776, allocations: 1.094 kB / 0.5815 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.3776, allocations: 6.375 kB / 0.5815 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.926e-05/0.3777, allocations: 33.02 kB / 0.5815 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.3777, allocations: 3.938 kB / 0.5815 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-06/0.3778, allocations: 1.406 kB / 0.5815 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.3778, allocations: 0 / 0.5815 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.027e-05/0.3778, allocations: 7.562 kB / 0.5815 GB, free: 3.109 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000101/0.3779, allocations: 149.6 kB / 0.5817 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.339e-05/0.3779, allocations: 32.44 kB / 0.5817 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/0.378, allocations: 8 kB / 0.5817 GB, free: 2.879 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006017/0.3786, allocations: 452.3 kB / 0.5822 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.3786, allocations: 40.55 kB / 0.5822 GB, free: 2.363 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3786, allocations: 0 / 0.5822 GB, free: 2.363 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004077/0.379, allocations: 256.4 kB / 0.5824 GB, free: 2.098 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.536e-05/0.379, allocations: 52.81 kB / 0.5825 GB, free: 2.035 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.802e-05/0.3791, allocations: 96.75 kB / 0.5826 GB, free: 1.934 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.3791, allocations: 26.92 kB / 0.5826 GB, free: 1.902 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.255e-05/0.3791, allocations: 85.67 kB / 0.5827 GB, free: 1.816 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.3791, allocations: 5.672 kB / 0.5827 GB, free: 1.812 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.3792, allocations: 19.47 kB / 0.5827 GB, free: 1.793 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.448e-05/0.3792, allocations: 320 kB / 0.583 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.3792, allocations: 5.031 kB / 0.583 GB, free: 1.473 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.374e-05/0.3793, allocations: 23.36 kB / 0.5831 GB, free: 1.449 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.137e-05/0.3793, allocations: 29.61 kB / 0.5831 GB, free: 1.426 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3793, allocations: 0 / 0.5831 GB, free: 1.426 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.714e-05/0.3794, allocations: 51.95 kB / 0.5831 GB, free: 1.387 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3794, allocations: 10.97 kB / 0.5831 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.3794, allocations: 5.922 kB / 0.5831 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.3795, allocations: 1.156 kB / 0.5831 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.469e-05/0.3795, allocations: 5.766 kB / 0.5832 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3795, allocations: 1.578 kB / 0.5832 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/0.3795, allocations: 8.75 kB / 0.5832 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.3796, allocations: 6.438 kB / 0.5832 GB, free: 1.367 MB / 430.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 5.687e-05/0.3796, allocations: 113.8 kB / 0.5833 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.3797, allocations: 9.516 kB / 0.5833 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.3798, allocations: 59.67 kB / 0.5833 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3798, allocations: 0 / 0.5833 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3798, allocations: 0.7969 kB / 0.5833 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3798, allocations: 5.312 kB / 0.5833 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.058e-05/0.3799, allocations: 152.1 kB / 0.5835 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3799, allocations: 2.031 kB / 0.5835 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.108e-05/0.3799, allocations: 4.656 kB / 0.5835 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3799, allocations: 4.625 kB / 0.5835 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.3799, allocations: 1.594 kB / 0.5835 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3799, allocations: 0 / 0.5835 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.38, allocations: 0.6562 kB / 0.5835 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.3801, allocations: 84.59 kB / 0.5836 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.3801, allocations: 81.75 kB / 0.5837 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.3801, allocations: 0.9688 kB / 0.5837 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.05e-05/0.3802, allocations: 5.875 kB / 0.5837 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.3802, allocations: 3.156 kB / 0.5837 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.3802, allocations: 4.844 kB / 0.5837 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.595e-05/0.3802, allocations: 77.97 kB / 0.5838 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3802, allocations: 0 / 0.5838 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002131/0.3804, allocations: 24.7 kB / 0.5838 GB, free: 0.7305 MB / 430.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.0003339/0.3808, allocations: 0.6446 MB / 0.5844 GB, free: 120 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.414e-05/0.3809, allocations: 17.44 kB / 0.5844 GB, free: 116 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3809, allocations: 0 / 0.5844 GB, free: 116 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.686e-05/0.3809, allocations: 6.891 kB / 0.5844 GB, free: 116 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.381, allocations: 12.03 kB / 0.5844 GB, free: 108 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000869/0.3819, allocations: 1.129 MB / 0.5855 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.3821, allocations: 0.676 MB / 0.5862 GB, free: 14.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.112e-05/0.3822, allocations: 3.922 kB / 0.5862 GB, free: 14.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.3822, allocations: 14.17 kB / 0.5862 GB, free: 14.27 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3822, allocations: 4 kB / 0.5862 GB, free: 14.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01124/0.3935, allocations: 1.582 MB / 0.5878 GB, free: 14.04 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.3937, allocations: 218.5 kB / 0.588 GB, free: 13.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/2.058, allocations: 0 / 0.588 GB, free: 13.79 MB / 446.1 MB (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)