Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",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.0008492/0.0008492, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.0008839/0.0008841, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9187/0.9187, allocations: 135.3 MB / 426.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003041/0.0003041, allocations: 8 kB / 0.5071 GB, free: 5.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1501, allocations: 82.32 MB / 0.5875 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0006875/0.1508, allocations: 299.1 kB / 0.5878 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005779/0.1514, allocations: 301 kB / 0.5881 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.008e-05/0.1514, allocations: 0 / 0.5881 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.055e-05/0.1515, allocations: 0 / 0.5881 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.051e-06/0.1515, allocations: 0 / 0.5881 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.1518, allocations: 67.88 kB / 0.5881 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.728e-05/0.1519, allocations: 3.938 kB / 0.5881 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.1519, allocations: 7.969 kB / 0.5881 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.425e-05/0.1519, allocations: 0 / 0.5881 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.136e-05/0.152, allocations: 4 kB / 0.5881 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.152, allocations: 0 / 0.5881 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003857/0.1524, allocations: 263.7 kB / 0.5884 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.943e-06/0.1524, allocations: 0 / 0.5884 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.1524, allocations: 29.7 kB / 0.5884 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.1526, allocations: 59.84 kB / 0.5885 GB, free: 1.852 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1526, allocations: 0 / 0.5885 GB, free: 1.852 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1526, allocations: 0 / 0.5885 GB, free: 1.852 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.1526, allocations: 0 / 0.5885 GB, free: 1.852 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003349/0.1529, allocations: 331.4 kB / 0.5888 GB, free: 1.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.153, allocations: 8.031 kB / 0.5888 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.153, allocations: 30.56 kB / 0.5888 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.1531, allocations: 0 / 0.5888 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.642e-05/0.1532, allocations: 167 kB / 0.589 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1532, allocations: 7.984 kB / 0.589 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-06/0.1532, allocations: 0 / 0.589 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.073e-05/0.1533, allocations: 25.7 kB / 0.589 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.1533, allocations: 0 / 0.589 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-06/0.1533, allocations: 0 / 0.589 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.1533, allocations: 4 kB / 0.589 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.197e-05/0.1534, allocations: 7.938 kB / 0.589 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.1535, allocations: 145.6 kB / 0.5892 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.8e-05/0.1535, allocations: 26.59 kB / 0.5892 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.1536, allocations: 8.844 kB / 0.5892 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005336/0.1541, allocations: 429.5 kB / 0.5896 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.1542, allocations: 34.5 kB / 0.5896 GB, free: 396 kB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1542, allocations: 4 kB / 0.5897 GB, free: 392 kB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001534/0.1543, allocations: 37.64 kB / 0.5897 GB, free: 348 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.1544, allocations: 55.41 kB / 0.5897 GB, free: 280 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.688e-05/0.1544, allocations: 89.86 kB / 0.5898 GB, free: 180 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.1544, allocations: 25.7 kB / 0.5898 GB, free: 148 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.955e-05/0.1545, allocations: 80.14 kB / 0.5899 GB, free: 64 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.1545, allocations: 3.906 kB / 0.5899 GB, free: 60 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-06/0.1545, allocations: 0 / 0.5899 GB, free: 60 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1547, allocations: 315 kB / 0.5902 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.227e-06/0.1547, allocations: 4 kB / 0.5902 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-06/0.1547, allocations: 4 kB / 0.5902 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.789e-05/0.1547, allocations: 3.953 kB / 0.5902 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1547, allocations: 0 / 0.5902 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.613e-05/0.1548, allocations: 41.64 kB / 0.5903 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1548, allocations: 4 kB / 0.5903 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1548, allocations: 0 / 0.5903 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.1548, allocations: 0 / 0.5903 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.996e-05/0.1549, allocations: 4.094 kB / 0.5903 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1549, allocations: 4 kB / 0.5903 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.987e-06/0.1549, allocations: 0 / 0.5903 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.1549, allocations: 3.984 kB / 0.5903 GB, free: 15.67 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 (1): * Single equations (assignments): 1 * 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.168e-05/0.155, allocations: 109.8 kB / 0.5904 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.155, allocations: 8 kB / 0.5904 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.934e-05/0.1551, allocations: 36.83 kB / 0.5904 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1551, allocations: 0 / 0.5904 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1551, allocations: 4.031 kB / 0.5904 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1552, allocations: 0 / 0.5904 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.1553, allocations: 145.7 kB / 0.5906 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1553, allocations: 3.953 kB / 0.5906 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.219e-05/0.1553, allocations: 7.938 kB / 0.5906 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1553, allocations: 0 / 0.5906 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.1553, allocations: 0 / 0.5906 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1553, allocations: 0 / 0.5906 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1553, allocations: 0 / 0.5906 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.448e-05/0.1554, allocations: 65.12 kB / 0.5907 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.1555, allocations: 85 kB / 0.5907 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.1555, allocations: 0 / 0.5907 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-06/0.1555, allocations: 0 / 0.5907 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.1555, allocations: 4 kB / 0.5907 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.1555, allocations: 0 / 0.5907 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.847e-05/0.1556, allocations: 79.22 kB / 0.5908 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1556, allocations: 0 / 0.5908 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001997/0.1558, allocations: 11.98 kB / 0.5908 GB, free: 15.02 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0004642/0.1562, allocations: 0.6127 MB / 0.5914 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.121e-05/0.1563, allocations: 4 kB / 0.5914 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1563, allocations: 0 / 0.5914 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.316e-06/0.1563, allocations: 4.094 kB / 0.5914 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.1565, allocations: 4.062 kB / 0.5914 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.1568, allocations: 116.3 kB / 0.5916 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.157, allocations: 0.6692 MB / 0.5922 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.771e-05/0.1571, allocations: 0 / 0.5922 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.49e-05/0.1571, allocations: 11.44 kB / 0.5922 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1571, allocations: 0 / 0.5922 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009535/0.1666, allocations: 0.9975 MB / 0.5932 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/0.1668, allocations: 189.2 kB / 0.5934 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/1.792, allocations: 0 / 0.5934 GB, free: 12.42 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: