Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_dev_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_dev_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.001135/0.001135, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 196 kB / 16.53 MB, free: 6.664 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9372/0.9372, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001496, allocations: 67.23 kB / 0.5055 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.148, allocations: 80.92 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001935/0.15, allocations: 0.5999 MB / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000805/0.1509, allocations: 350.7 kB / 0.5854 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.1509, allocations: 4 kB / 0.5854 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.1509, allocations: 7.938 kB / 0.5854 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.598e-05/0.151, allocations: 3.938 kB / 0.5854 GB, free: 3.496 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004779/0.1515, allocations: 115.6 kB / 0.5855 GB, free: 3.383 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.248e-05/0.1515, allocations: 19.98 kB / 0.5856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.1516, allocations: 0 / 0.5856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.145e-05/0.1516, allocations: 11.98 kB / 0.5856 GB, free: 3.352 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.258e-05/0.1517, allocations: 15.92 kB / 0.5856 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.1517, allocations: 0 / 0.5856 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003699/0.1521, allocations: 279.6 kB / 0.5858 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.1521, allocations: 3.938 kB / 0.5859 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.1521, allocations: 15.92 kB / 0.5859 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.1523, allocations: 99.78 kB / 0.586 GB, free: 2.945 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1523, allocations: 0 / 0.586 GB, free: 2.945 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1523, allocations: 0 / 0.586 GB, free: 2.945 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1523, allocations: 0 / 0.586 GB, free: 2.945 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.0004223/0.1528, allocations: 363.7 kB / 0.5863 GB, free: 2.539 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1528, allocations: 8.031 kB / 0.5863 GB, free: 2.531 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.1529, allocations: 46.73 kB / 0.5864 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.1529, allocations: 0.9375 kB / 0.5864 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.153, allocations: 172.2 kB / 0.5865 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1531, allocations: 384 / 0.5865 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.1531, allocations: 4.375 kB / 0.5865 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.1532, allocations: 54.23 kB / 0.5866 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1532, allocations: 3.938 kB / 0.5866 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.1532, allocations: 0 / 0.5866 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1532, allocations: 0 / 0.5866 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.257e-05/0.1533, allocations: 19.98 kB / 0.5866 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.1535, allocations: 169.7 kB / 0.5868 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.1536, allocations: 58.5 kB / 0.5868 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.3e-05/0.1536, allocations: 28.84 kB / 0.5869 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006977/0.1543, allocations: 461.5 kB / 0.5873 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.1544, allocations: 30.56 kB / 0.5873 GB, free: 1.289 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1544, allocations: 3.938 kB / 0.5873 GB, free: 1.285 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.00127/0.1557, allocations: 0.5954 MB / 0.5879 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.1557, allocations: 55.41 kB / 0.588 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.225e-05/0.1558, allocations: 97.84 kB / 0.5881 GB, free: 436 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.1558, allocations: 29.7 kB / 0.5881 GB, free: 400 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.224e-05/0.1558, allocations: 80.14 kB / 0.5882 GB, free: 316 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/0.1559, allocations: 43.3 kB / 0.5882 GB, free: 272 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.1559, allocations: 29.66 kB / 0.5882 GB, free: 236 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1561, allocations: 326.8 kB / 0.5885 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.53e-05/0.1561, allocations: 20 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.829e-05/0.1561, allocations: 26.98 kB / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.604e-05/0.1562, allocations: 52.84 kB / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1563, allocations: 0 / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001555/0.1564, allocations: 93.62 kB / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1564, allocations: 8 kB / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1565, allocations: 0 / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1565, allocations: 0 / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.1566, allocations: 31.92 kB / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1566, allocations: 0 / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.58e-05/0.1566, allocations: 4 kB / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1566, allocations: 4 kB / 0.5888 GB, free: 15.66 MB / 0.4981 GB 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 8.287e-05/0.1567, allocations: 113.8 kB / 0.5889 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.1568, allocations: 11.84 kB / 0.5889 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.157, allocations: 113.5 kB / 0.589 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.157, allocations: 0 / 0.589 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.157, allocations: 4 kB / 0.589 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.157, allocations: 4 kB / 0.589 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003684/0.1574, allocations: 352.8 kB / 0.5893 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1574, allocations: 0 / 0.5893 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.1575, allocations: 24.02 kB / 0.5894 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1575, allocations: 3.938 kB / 0.5894 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1575, allocations: 8 kB / 0.5894 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1575, allocations: 0 / 0.5894 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1575, allocations: 0 / 0.5894 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.1578, allocations: 229 kB / 0.5896 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.1578, allocations: 85.12 kB / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.1579, allocations: 3.984 kB / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.1579, allocations: 4 kB / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.158, allocations: 4.188 kB / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.158, allocations: 4 kB / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.634e-05/0.158, allocations: 95.19 kB / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.158, allocations: 0 / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002832/0.1583, allocations: 40.06 kB / 0.5898 GB, free: 14.48 MB / 0.4981 GB 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.0005923/0.1589, allocations: 0.7913 MB / 0.5906 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001454/0.1591, allocations: 75.62 kB / 0.5907 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1591, allocations: 0 / 0.5907 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.863e-05/0.1591, allocations: 39.88 kB / 0.5907 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.1594, allocations: 12.05 kB / 0.5907 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.1606, allocations: 1.379 MB / 0.5921 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.1609, allocations: 0.6923 MB / 0.5927 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.004e-05/0.161, allocations: 8 kB / 0.5927 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.161, allocations: 23.42 kB / 0.5928 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.161, allocations: 0 / 0.5928 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.1807, allocations: 2.431 MB / 0.5951 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.423/7.604, allocations: 8.594 kB / 0.5951 GB, free: 9.039 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)