Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007098/0.007098, allocations: 100.5 kB / 15.73 MB, free: 6.008 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.001855/0.001855, allocations: 190.4 kB / 16.67 MB, free: 5.949 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9782/0.9782, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 59.91 kB / 0.5856 GB, free: 3.352 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4506/0.452, allocations: 80.92 MB / 0.6647 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002288/0.4544, allocations: 1.452 MB / 0.6661 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007884/0.4552, allocations: 0.5611 MB / 0.6666 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.314e-05/0.4552, allocations: 1.562 kB / 0.6666 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.4552, allocations: 3.984 kB / 0.6666 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.364e-05/0.4553, allocations: 5.125 kB / 0.6666 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.4556, allocations: 51.2 kB / 0.6667 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.213e-05/0.4557, allocations: 30.14 kB / 0.6667 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.496e-05/0.4558, allocations: 12.16 kB / 0.6667 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.13e-05/0.4559, allocations: 16.91 kB / 0.6667 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.254e-05/0.4559, allocations: 12.33 kB / 0.6667 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.4559, allocations: 2.75 kB / 0.6668 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.4561, allocations: 50.06 kB / 0.6668 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.4561, allocations: 13.36 kB / 0.6668 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.4561, allocations: 10.31 kB / 0.6668 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.4563, allocations: 67.06 kB / 0.6669 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4563, allocations: 0 / 0.6669 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4563, allocations: 0 / 0.6669 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.4563, allocations: 4 kB / 0.6669 GB, free: 5.844 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003805/0.4567, allocations: 345.7 kB / 0.6672 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4567, allocations: 9.25 kB / 0.6672 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.4568, allocations: 2.312 kB / 0.6672 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.769e-05/0.4569, allocations: 172.7 kB / 0.6674 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.4569, allocations: 5.5 kB / 0.6674 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-06/0.4569, allocations: 1.281 kB / 0.6674 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.457, allocations: 51.14 kB / 0.6675 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.457, allocations: 4 kB / 0.6675 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.457, allocations: 4 kB / 0.6675 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4571, allocations: 3.938 kB / 0.6675 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.744e-05/0.4571, allocations: 19.7 kB / 0.6675 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.4574, allocations: 251.8 kB / 0.6677 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.921e-05/0.4575, allocations: 35.53 kB / 0.6678 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.355e-05/0.4576, allocations: 19.44 kB / 0.6678 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006983/0.4583, allocations: 472.2 kB / 0.6682 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.4583, allocations: 31.88 kB / 0.6683 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4583, allocations: 0 / 0.6683 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002336/0.4586, allocations: 70.67 kB / 0.6683 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.4586, allocations: 56.09 kB / 0.6684 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.606e-05/0.4587, allocations: 107.8 kB / 0.6685 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.794e-06/0.4587, allocations: 25.7 kB / 0.6685 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.811e-05/0.4587, allocations: 89.66 kB / 0.6686 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.4587, allocations: 5.312 kB / 0.6686 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.4588, allocations: 12.66 kB / 0.6686 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.296e-05/0.4588, allocations: 320.1 kB / 0.6689 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.132e-05/0.4589, allocations: 9.672 kB / 0.6689 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.247e-05/0.4589, allocations: 9.438 kB / 0.6689 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.461e-05/0.459, allocations: 30.03 kB / 0.669 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.459, allocations: 0 / 0.669 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001066/0.4591, allocations: 58.17 kB / 0.669 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.4591, allocations: 9 kB / 0.669 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.4592, allocations: 1.5 kB / 0.669 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.4592, allocations: 0 / 0.669 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.715e-05/0.4592, allocations: 4.062 kB / 0.669 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.4593, allocations: 1.781 kB / 0.669 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.296e-05/0.4593, allocations: 9.016 kB / 0.669 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.4593, allocations: 5.109 kB / 0.669 GB, free: 3.547 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 (2): * Single equations (assignments): 2 * 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 4.795e-05/0.4594, allocations: 115.3 kB / 0.6692 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.4594, allocations: 10.59 kB / 0.6692 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.4595, allocations: 60.83 kB / 0.6692 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4596, allocations: 1.438 kB / 0.6692 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.4596, allocations: 0 / 0.6692 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4596, allocations: 3.984 kB / 0.6692 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.4597, allocations: 168.2 kB / 0.6694 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4597, allocations: 0 / 0.6694 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.4598, allocations: 7.875 kB / 0.6694 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4598, allocations: 1.312 kB / 0.6694 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.4598, allocations: 4.031 kB / 0.6694 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4598, allocations: 1.281 kB / 0.6694 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4598, allocations: 0 / 0.6694 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.4599, allocations: 152.8 kB / 0.6695 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/0.46, allocations: 82.39 kB / 0.6696 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.46, allocations: 5.406 kB / 0.6696 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.901e-05/0.46, allocations: 1.219 kB / 0.6696 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.4601, allocations: 9.266 kB / 0.6696 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.4601, allocations: 1.625 kB / 0.6696 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.5e-05/0.4601, allocations: 84.38 kB / 0.6697 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4601, allocations: 1.312 kB / 0.6697 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002658/0.4604, allocations: 23.48 kB / 0.6697 GB, free: 2.801 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 (2): * Single equations (assignments): 2 * 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.0001696/0.4606, allocations: 115.7 kB / 0.6699 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.4607, allocations: 23.3 kB / 0.6699 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4608, allocations: 4.062 kB / 0.6699 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.586e-05/0.4608, allocations: 16.2 kB / 0.6699 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.461, allocations: 5.281 kB / 0.6699 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.4613, allocations: 122 kB / 0.67 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.4615, allocations: 0.678 MB / 0.6707 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.423e-05/0.4615, allocations: 6.75 kB / 0.6707 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.815e-05/0.4615, allocations: 15.5 kB / 0.6707 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of SimCode: time 7.61e-07/0.4615, allocations: 1.438 kB / 0.6707 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.003006/0.4645, allocations: 0.6755 MB / 0.6714 GB, free: 1.48 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)