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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 175.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7675/0.7675, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 221.3 MB / 400.4 MB, free: 5.832 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009131/0.0009132, allocations: 95.77 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.129e-05/5.14e-05, allocations: 5.812 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2045, allocations: 82.31 MB / 0.6405 GB, free: 7.703 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6256/0.8302, allocations: 111.3 MB / 0.7492 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.8305, allocations: 74.62 kB / 0.7492 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01253/0.843, allocations: 4.561 MB / 0.7537 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8431, allocations: 0 / 0.7537 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.8431, allocations: 3.812 kB / 0.7537 GB, free: 27.41 MB / 0.5105 GB 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.0004327/0.8435, allocations: 342.3 kB / 0.754 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.988e-05/0.8436, allocations: 11.72 kB / 0.754 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.84e-05/0.8437, allocations: 33.94 kB / 0.7541 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.766e-05/0.8438, allocations: 6.719 kB / 0.7541 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.8439, allocations: 163 kB / 0.7542 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.844, allocations: 0 / 0.7542 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.844, allocations: 7.688 kB / 0.7542 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.8441, allocations: 38.53 kB / 0.7543 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.8441, allocations: 0 / 0.7543 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.8442, allocations: 0 / 0.7543 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.8442, allocations: 4 kB / 0.7543 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.595e-05/0.8442, allocations: 3.844 kB / 0.7543 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.8444, allocations: 165.3 kB / 0.7544 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.509e-05/0.8445, allocations: 18.42 kB / 0.7545 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.154e-05/0.8445, allocations: 11.95 kB / 0.7545 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006267/0.8451, allocations: 454 kB / 0.7549 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.8452, allocations: 36.59 kB / 0.7549 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.8452, allocations: 3.938 kB / 0.7549 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0005666/0.8457, allocations: 243 kB / 0.7552 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.8458, allocations: 55.34 kB / 0.7552 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.8459, allocations: 95.73 kB / 0.7553 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.8459, allocations: 25.7 kB / 0.7553 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.8459, allocations: 84.08 kB / 0.7554 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.846, allocations: 11.12 kB / 0.7554 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.846, allocations: 4.094 kB / 0.7554 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.8461, allocations: 320.6 kB / 0.7557 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.8461, allocations: 3.812 kB / 0.7558 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.041e-05/0.8462, allocations: 17.28 kB / 0.7558 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.826e-05/0.8463, allocations: 7.797 kB / 0.7558 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.8463, allocations: 0 / 0.7558 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001052/0.8464, allocations: 55.3 kB / 0.7558 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.8464, allocations: 7.719 kB / 0.7558 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.8464, allocations: 0 / 0.7558 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.8465, allocations: 3.844 kB / 0.7558 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.558e-05/0.8465, allocations: 6.891 kB / 0.7558 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.8465, allocations: 0 / 0.7558 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.89e-05/0.8466, allocations: 3.875 kB / 0.7558 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.8466, allocations: 0 / 0.7558 GB, free: 25.12 MB / 0.5105 GB 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 () * 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 8.28e-05/0.8467, allocations: 108.2 kB / 0.756 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.8467, allocations: 3.812 kB / 0.756 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.8468, allocations: 58.5 kB / 0.756 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.8468, allocations: 0 / 0.756 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.8469, allocations: 0 / 0.756 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.8469, allocations: 0 / 0.756 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.847, allocations: 154.9 kB / 0.7562 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.847, allocations: 3.953 kB / 0.7562 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.013e-05/0.847, allocations: 7.688 kB / 0.7562 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.847, allocations: 192 / 0.7562 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.8471, allocations: 0 / 0.7562 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.8471, allocations: 4 kB / 0.7562 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.8471, allocations: 0 / 0.7562 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.8472, allocations: 88.7 kB / 0.7563 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/0.8473, allocations: 81.06 kB / 0.7563 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.8473, allocations: 2.812 kB / 0.7563 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.651e-05/0.8473, allocations: 3.844 kB / 0.7563 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.8473, allocations: 3.5 kB / 0.7563 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.8474, allocations: 64 / 0.7563 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.167e-05/0.8474, allocations: 83.12 kB / 0.7564 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8474, allocations: 3.938 kB / 0.7564 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002245/0.8476, allocations: 33.89 kB / 0.7565 GB, free: 24.5 MB / 0.5105 GB 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 () * 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.0005867/0.8482, allocations: 0.6513 MB / 0.7571 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.102e-05/0.8483, allocations: 21.36 kB / 0.7571 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8483, allocations: 7.781 kB / 0.7571 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.305e-05/0.8483, allocations: 3.844 kB / 0.7571 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001077/0.8485, allocations: 0 / 0.7571 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.8488, allocations: 132.8 kB / 0.7573 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.8491, allocations: 0.6774 MB / 0.7579 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.827e-05/0.8491, allocations: 12.91 kB / 0.7579 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.8492, allocations: 13.67 kB / 0.7579 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.8492, allocations: 0 / 0.7579 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01223/0.8614, allocations: 1.46 MB / 0.7594 GB, free: 22.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.8616, allocations: 161.8 kB / 0.7595 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/2.373, allocations: 3.938 kB / 0.7595 GB, free: 22.68 MB / 0.5105 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/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)