Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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: translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 104.5 kB / 16.41 MB, free: 6.465 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.001132/0.001132, allocations: 189.8 kB / 17.34 MB, free: 5.719 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.188/1.188, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7193/0.7193, allocations: 135.1 MB / 426.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 60.09 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1204, allocations: 80.92 MB / 0.6653 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001505/0.122, allocations: 0.5981 MB / 0.6659 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003575/0.1223, allocations: 166.3 kB / 0.6661 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.169e-05/0.1224, allocations: 0 / 0.6661 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.105e-05/0.1224, allocations: 0 / 0.6661 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.272e-05/0.1224, allocations: 0 / 0.6661 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.1227, allocations: 51.73 kB / 0.6661 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.424e-05/0.1228, allocations: 12 kB / 0.6661 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.1228, allocations: 3.984 kB / 0.6661 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.735e-05/0.1228, allocations: 11.94 kB / 0.6662 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.635e-05/0.1229, allocations: 15.92 kB / 0.6662 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.1229, allocations: 0 / 0.6662 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.289e-05/0.123, allocations: 35.95 kB / 0.6662 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.123, allocations: 0 / 0.6662 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.123, allocations: 7.938 kB / 0.6662 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.86e-05/0.1231, allocations: 27.95 kB / 0.6662 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1231, allocations: 3.938 kB / 0.6662 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1231, allocations: 0 / 0.6662 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.1232, allocations: 0 / 0.6662 GB, free: 4.816 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003369/0.1235, allocations: 339.6 kB / 0.6666 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1235, allocations: 9.109 kB / 0.6666 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.1236, allocations: 4.938 kB / 0.6666 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.911e-05/0.1237, allocations: 164.3 kB / 0.6667 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1237, allocations: 4.312 kB / 0.6667 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.1237, allocations: 4.375 kB / 0.6667 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.1238, allocations: 42.25 kB / 0.6668 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.1238, allocations: 192 / 0.6668 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.1238, allocations: 7.938 kB / 0.6668 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1239, allocations: 0 / 0.6668 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.067e-05/0.1239, allocations: 19.97 kB / 0.6668 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.1241, allocations: 157.7 kB / 0.667 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.283e-05/0.1241, allocations: 50.5 kB / 0.667 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.1242, allocations: 20.97 kB / 0.667 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.287e-05/0.1243, allocations: 77.11 kB / 0.6671 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.1243, allocations: 38.56 kB / 0.6671 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1243, allocations: 0 / 0.6671 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.001156/0.1255, allocations: 488 kB / 0.6676 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.1255, allocations: 55.39 kB / 0.6677 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.785e-05/0.1256, allocations: 89.86 kB / 0.6677 GB, free: 3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.1256, allocations: 25.7 kB / 0.6678 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.728e-05/0.1256, allocations: 88.14 kB / 0.6679 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.1257, allocations: 19.72 kB / 0.6679 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.1257, allocations: 37.64 kB / 0.6679 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.421e-05/0.1258, allocations: 310.8 kB / 0.6682 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.759e-05/0.1258, allocations: 15.98 kB / 0.6682 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.352e-05/0.1259, allocations: 16.06 kB / 0.6682 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.664e-05/0.1259, allocations: 28.86 kB / 0.6683 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1259, allocations: 0 / 0.6683 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001009/0.126, allocations: 73.66 kB / 0.6683 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1261, allocations: 15.88 kB / 0.6683 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1261, allocations: 4 kB / 0.6684 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1261, allocations: 0 / 0.6684 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.269e-05/0.1262, allocations: 15.94 kB / 0.6684 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1262, allocations: 0 / 0.6684 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.225e-05/0.1262, allocations: 0 / 0.6684 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.1262, allocations: 4.438 kB / 0.6684 GB, free: 2.324 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 (8): * Single equations (assignments): 8 * 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.789e-05/0.1263, allocations: 115.2 kB / 0.6685 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.1263, allocations: 11.84 kB / 0.6685 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.1264, allocations: 85.58 kB / 0.6686 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1265, allocations: 4 kB / 0.6686 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1265, allocations: 4 kB / 0.6686 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1265, allocations: 0 / 0.6686 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.1266, allocations: 161.7 kB / 0.6687 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1266, allocations: 0 / 0.6687 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.516e-05/0.1267, allocations: 19.98 kB / 0.6688 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1267, allocations: 3.938 kB / 0.6688 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1267, allocations: 0 / 0.6688 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1267, allocations: 0 / 0.6688 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1267, allocations: 0 / 0.6688 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.1269, allocations: 117 kB / 0.6689 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.1269, allocations: 84.95 kB / 0.669 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.1269, allocations: 4 kB / 0.669 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.493e-05/0.127, allocations: 8.016 kB / 0.669 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.127, allocations: 0 / 0.669 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.127, allocations: 4 kB / 0.669 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.201e-05/0.127, allocations: 79.34 kB / 0.669 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.127, allocations: 0 / 0.669 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002218/0.1273, allocations: 35.98 kB / 0.6691 GB, free: 1.5 MB / 0.4981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001845/0.1275, allocations: 135.2 kB / 0.6692 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.1276, allocations: 35.92 kB / 0.6692 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1276, allocations: 0 / 0.6692 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.135e-05/0.1276, allocations: 20.55 kB / 0.6693 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.1277, allocations: 7.938 kB / 0.6693 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002638/0.128, allocations: 163.2 kB / 0.6694 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.1282, allocations: 0.6807 MB / 0.6701 GB, free: 404 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/0.1283, allocations: 11.44 kB / 0.6701 GB, free: 392 kB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1283, allocations: 0 / 0.6701 GB, free: 392 kB / 0.4981 GB Notification: Performance of Templates: time 0.002033/0.1303, allocations: 0.9289 MB / 0.671 GB, free: 15.45 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)