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.001494/0.001494, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001927/0.001927, allocations: 200.1 kB / 16.26 MB, free: 6.621 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.28/1.28, allocations: 222.9 MB / 239.9 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.7148/0.7148, allocations: 132.2 MB / 422.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001385, allocations: 68.36 kB / 0.5014 GB, free: 8.992 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1309, allocations: 80.21 MB / 0.5797 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001601/0.1325, allocations: 0.6465 MB / 0.5803 GB, free: 8.352 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005732/0.1331, allocations: 344.6 kB / 0.5807 GB, free: 8.016 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.777e-05/0.1331, allocations: 4 kB / 0.5807 GB, free: 8.012 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.118e-05/0.1332, allocations: 0 / 0.5807 GB, free: 8.012 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.958e-05/0.1332, allocations: 3.938 kB / 0.5807 GB, free: 8.008 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.1336, allocations: 98.72 kB / 0.5808 GB, free: 7.914 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.644e-05/0.1336, allocations: 11.94 kB / 0.5808 GB, free: 7.902 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.322e-05/0.1336, allocations: 0 / 0.5808 GB, free: 7.902 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.343e-05/0.1337, allocations: 4 kB / 0.5808 GB, free: 7.898 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.646e-05/0.1337, allocations: 7.984 kB / 0.5808 GB, free: 7.891 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.1337, allocations: 0 / 0.5808 GB, free: 7.891 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.1341, allocations: 267.7 kB / 0.581 GB, free: 7.629 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.1341, allocations: 7.984 kB / 0.581 GB, free: 7.621 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.795e-05/0.1341, allocations: 11.92 kB / 0.5811 GB, free: 7.609 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.1342, allocations: 87.86 kB / 0.5811 GB, free: 7.523 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1342, allocations: 0 / 0.5811 GB, free: 7.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1343, allocations: 4 kB / 0.5811 GB, free: 7.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1343, allocations: 0 / 0.5811 GB, free: 7.52 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000292/0.1346, allocations: 335.5 kB / 0.5815 GB, free: 7.141 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.1346, allocations: 15.97 kB / 0.5815 GB, free: 7.125 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.868e-05/0.1346, allocations: 34.75 kB / 0.5815 GB, free: 7.082 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.1347, allocations: 0.9375 kB / 0.5815 GB, free: 7.082 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.458e-05/0.1348, allocations: 172.6 kB / 0.5817 GB, free: 6.875 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.302e-06/0.1348, allocations: 384 / 0.5817 GB, free: 6.875 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.1348, allocations: 4.359 kB / 0.5817 GB, free: 6.871 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.039e-05/0.1349, allocations: 34.27 kB / 0.5817 GB, free: 6.832 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1349, allocations: 3.938 kB / 0.5817 GB, free: 6.828 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.1349, allocations: 4 kB / 0.5817 GB, free: 6.824 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.1349, allocations: 0 / 0.5817 GB, free: 6.824 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.888e-05/0.1349, allocations: 7.984 kB / 0.5817 GB, free: 6.816 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.1351, allocations: 153.6 kB / 0.5819 GB, free: 6.617 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.995e-05/0.1351, allocations: 26.53 kB / 0.5819 GB, free: 6.582 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.55e-05/0.1352, allocations: 12.92 kB / 0.5819 GB, free: 6.566 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006371/0.1358, allocations: 449.5 kB / 0.5823 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.1358, allocations: 42.56 kB / 0.5824 GB, free: 5.984 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.1358, allocations: 3.938 kB / 0.5824 GB, free: 5.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004452/0.1363, allocations: 254.2 kB / 0.5826 GB, free: 5.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.1363, allocations: 51.41 kB / 0.5827 GB, free: 5.617 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.546e-05/0.1364, allocations: 101.8 kB / 0.5828 GB, free: 5.508 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.1364, allocations: 26.05 kB / 0.5828 GB, free: 5.477 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.1365, allocations: 88.12 kB / 0.5829 GB, free: 5.387 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.1365, allocations: 3.906 kB / 0.5829 GB, free: 5.383 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.1365, allocations: 17.72 kB / 0.5829 GB, free: 5.359 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.1366, allocations: 314.8 kB / 0.5832 GB, free: 5.043 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.1366, allocations: 8 kB / 0.5832 GB, free: 5.035 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.411e-05/0.1367, allocations: 21.66 kB / 0.5832 GB, free: 5.008 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.222e-05/0.1367, allocations: 29.7 kB / 0.5833 GB, free: 4.973 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.12e-07/0.1367, allocations: 0 / 0.5833 GB, free: 4.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.652e-05/0.1368, allocations: 49.64 kB / 0.5833 GB, free: 4.918 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1368, allocations: 7.938 kB / 0.5833 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1368, allocations: 0 / 0.5833 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1369, allocations: 4 kB / 0.5833 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.207e-05/0.1369, allocations: 7.984 kB / 0.5833 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.1369, allocations: 3.938 kB / 0.5833 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.933e-05/0.1369, allocations: 8 kB / 0.5833 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.137, allocations: 4.062 kB / 0.5833 GB, free: 4.883 MB / 494.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 6.46e-05/0.137, allocations: 106.5 kB / 0.5834 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.137, allocations: 11.84 kB / 0.5835 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.1372, allocations: 65.09 kB / 0.5835 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1372, allocations: 0 / 0.5835 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1372, allocations: 0 / 0.5835 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1372, allocations: 0 / 0.5835 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.445e-05/0.1373, allocations: 153.7 kB / 0.5837 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1373, allocations: 0 / 0.5837 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.688e-05/0.1373, allocations: 4 kB / 0.5837 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1374, allocations: 7.938 kB / 0.5837 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.1374, allocations: 4 kB / 0.5837 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1374, allocations: 0 / 0.5837 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1374, allocations: 0 / 0.5837 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.1375, allocations: 77.28 kB / 0.5838 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.1376, allocations: 93.12 kB / 0.5838 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.1376, allocations: 4 kB / 0.5838 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.761e-05/0.1376, allocations: 0 / 0.5838 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.1376, allocations: 0 / 0.5838 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1376, allocations: 8 kB / 0.5839 GB, free: 4.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.577e-05/0.1377, allocations: 75.28 kB / 0.5839 GB, free: 4.176 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1377, allocations: 0 / 0.5839 GB, free: 4.176 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000197/0.1379, allocations: 31.92 kB / 0.584 GB, free: 4.145 MB / 494.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.0004143/0.1383, allocations: 0.6399 MB / 0.5846 GB, free: 3.477 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.374e-05/0.1384, allocations: 19.92 kB / 0.5846 GB, free: 3.457 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1384, allocations: 0 / 0.5846 GB, free: 3.457 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.602e-05/0.1384, allocations: 8 kB / 0.5846 GB, free: 3.449 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.1385, allocations: 6.531 kB / 0.5846 GB, free: 3.445 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008059/0.1394, allocations: 1.143 MB / 0.5857 GB, free: 2.215 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.1396, allocations: 0.6768 MB / 0.5864 GB, free: 1.512 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.692e-05/0.1396, allocations: 7.938 kB / 0.5864 GB, free: 1.504 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.029e-05/0.1396, allocations: 7.438 kB / 0.5864 GB, free: 1.5 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1396, allocations: 0 / 0.5864 GB, free: 1.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08688/0.2265, allocations: 1.617 MB / 0.588 GB, free: 52 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002719/0.2268, allocations: 221.4 kB / 0.5882 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.161, allocations: 0 / 0.5882 GB, free: 15.79 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)