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.001443/0.001443, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001642/0.001642, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.148/2.148, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.299/1.299, allocations: 132.2 MB / 423.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005596/0.0005599, allocations: 16 kB / 0.5033 GB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7394/0.74, allocations: 81.57 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0009266/0.741, allocations: 324.8 kB / 0.5833 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008594/0.7419, allocations: 321.6 kB / 0.5836 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.319e-05/0.7419, allocations: 0 / 0.5836 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.242e-05/0.742, allocations: 1.219 kB / 0.5836 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.148e-05/0.742, allocations: 0 / 0.5836 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000512/0.7425, allocations: 70.7 kB / 0.5837 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.323e-05/0.7426, allocations: 19.06 kB / 0.5837 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.349e-05/0.7427, allocations: 1.609 kB / 0.5837 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.332e-05/0.7427, allocations: 3.766 kB / 0.5837 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.335e-05/0.7428, allocations: 2.703 kB / 0.5837 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.7428, allocations: 1.375 kB / 0.5837 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006722/0.7435, allocations: 254.7 kB / 0.5839 GB, free: 3.484 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.7435, allocations: 2.453 kB / 0.5839 GB, free: 3.484 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.7435, allocations: 27.02 kB / 0.584 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.7437, allocations: 61.92 kB / 0.584 GB, free: 3.434 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7437, allocations: 0 / 0.584 GB, free: 3.434 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.7438, allocations: 3.938 kB / 0.584 GB, free: 3.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.7438, allocations: 4.906 kB / 0.584 GB, free: 3.426 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.0003272/0.7441, allocations: 336.8 kB / 0.5843 GB, free: 3.062 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.7442, allocations: 9.125 kB / 0.5844 GB, free: 3.062 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.628e-05/0.7442, allocations: 39.25 kB / 0.5844 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.787e-05/0.7443, allocations: 2.344 kB / 0.5844 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.621e-05/0.7444, allocations: 164.3 kB / 0.5845 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.7444, allocations: 1.031 kB / 0.5845 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.7445, allocations: 2.062 kB / 0.5846 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.7446, allocations: 35.75 kB / 0.5846 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.7446, allocations: 0 / 0.5846 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.7446, allocations: 1.156 kB / 0.5846 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.7447, allocations: 0 / 0.5846 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.37e-05/0.7447, allocations: 11.12 kB / 0.5846 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.7449, allocations: 155.2 kB / 0.5847 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.818e-05/0.745, allocations: 23.8 kB / 0.5848 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009693/0.7459, allocations: 460.4 kB / 0.5852 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.746, allocations: 31.69 kB / 0.5852 GB, free: 2.043 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.753e-06/0.746, allocations: 0.9688 kB / 0.5852 GB, free: 2.043 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006437/0.7466, allocations: 255.1 kB / 0.5855 GB, free: 1.777 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.7467, allocations: 52.16 kB / 0.5855 GB, free: 1.715 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.618e-05/0.7468, allocations: 94.27 kB / 0.5856 GB, free: 1.617 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.7468, allocations: 25.7 kB / 0.5856 GB, free: 1.586 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.7468, allocations: 85.94 kB / 0.5857 GB, free: 1.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.7469, allocations: 10.78 kB / 0.5857 GB, free: 1.492 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.7469, allocations: 4 kB / 0.5857 GB, free: 1.488 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.38e-05/0.747, allocations: 321.3 kB / 0.586 GB, free: 1.168 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.833e-05/0.747, allocations: 8.312 kB / 0.5861 GB, free: 1.164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.701e-05/0.747, allocations: 15.7 kB / 0.5861 GB, free: 1.148 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.932e-05/0.7471, allocations: 8.828 kB / 0.5861 GB, free: 1.145 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7471, allocations: 1 kB / 0.5861 GB, free: 1.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001651/0.7473, allocations: 55.67 kB / 0.5861 GB, free: 1.102 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.7473, allocations: 5.531 kB / 0.5861 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.7473, allocations: 0 / 0.5861 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.7474, allocations: 3.031 kB / 0.5861 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.872e-05/0.7475, allocations: 6.094 kB / 0.5861 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.7475, allocations: 5.562 kB / 0.5862 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.473e-05/0.7475, allocations: 1.125 kB / 0.5862 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.7475, allocations: 4.656 kB / 0.5862 GB, free: 1.094 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.407e-05/0.7476, allocations: 120.3 kB / 0.5863 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.7477, allocations: 6.812 kB / 0.5863 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.7479, allocations: 57.78 kB / 0.5863 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.7479, allocations: 1.656 kB / 0.5863 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.7479, allocations: 0.7031 kB / 0.5863 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.7479, allocations: 3.984 kB / 0.5863 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.7481, allocations: 157.5 kB / 0.5865 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.7481, allocations: 1.406 kB / 0.5865 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.06e-05/0.7482, allocations: 8.875 kB / 0.5865 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.7482, allocations: 5 kB / 0.5865 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.7482, allocations: 1.547 kB / 0.5865 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.7482, allocations: 0 / 0.5865 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7482, allocations: 0.7812 kB / 0.5865 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.7484, allocations: 75.22 kB / 0.5866 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.495e-05/0.7485, allocations: 82.41 kB / 0.5867 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.7485, allocations: 1.438 kB / 0.5867 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.102e-05/0.7486, allocations: 1.375 kB / 0.5867 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.7486, allocations: 11.39 kB / 0.5867 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.7487, allocations: 0.75 kB / 0.5867 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.805e-05/0.7487, allocations: 82.53 kB / 0.5868 GB, free: 464 kB / 430.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7487, allocations: 0 / 0.5868 GB, free: 464 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004438/0.7492, allocations: 24.31 kB / 0.5868 GB, free: 460 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006423/0.7498, allocations: 0.6355 MB / 0.5874 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.75, allocations: 22.27 kB / 0.5874 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.75, allocations: 0 / 0.5874 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.647e-05/0.75, allocations: 10.16 kB / 0.5874 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.7502, allocations: 2.672 kB / 0.5874 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009472/0.7512, allocations: 0.5176 MB / 0.5879 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.7515, allocations: 0.6824 MB / 0.5886 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.246e-05/0.7516, allocations: 3.984 kB / 0.5886 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.7517, allocations: 9.562 kB / 0.5886 GB, free: 14.61 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.7517, allocations: 4.062 kB / 0.5886 GB, free: 14.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.7706, allocations: 1.488 MB / 0.5901 GB, free: 14.48 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003094/0.771, allocations: 205.9 kB / 0.5903 GB, free: 14.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/3.247, allocations: 0 / 0.5903 GB, free: 14.24 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/linux/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) Environment - environmentSimulation: