Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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: translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001149/0.001149, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 197 kB / 16.53 MB, free: 6.664 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7248/0.7248, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 59.75 kB / 0.5018 GB, free: 3.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4212, allocations: 80.2 MB / 0.5801 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002985/0.4242, allocations: 1.451 MB / 0.5815 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008641/0.4251, allocations: 0.5772 MB / 0.5821 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.823e-05/0.4251, allocations: 1.031 kB / 0.5821 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/0.4252, allocations: 0.5156 kB / 0.5821 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.364e-05/0.4253, allocations: 5.891 kB / 0.5821 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.4255, allocations: 49.09 kB / 0.5821 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.792e-05/0.4256, allocations: 33.58 kB / 0.5821 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.4257, allocations: 8.922 kB / 0.5822 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.985e-05/0.4258, allocations: 20.09 kB / 0.5822 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.267e-05/0.4259, allocations: 10.23 kB / 0.5822 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.4259, allocations: 2.688 kB / 0.5822 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.426, allocations: 57.64 kB / 0.5822 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.426, allocations: 2.828 kB / 0.5822 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.4261, allocations: 18.31 kB / 0.5823 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.4262, allocations: 62.55 kB / 0.5823 GB, free: 3.012 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.4262, allocations: 1.312 kB / 0.5823 GB, free: 3.012 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4263, allocations: 4 kB / 0.5823 GB, free: 3.008 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.4263, allocations: 0 / 0.5823 GB, free: 3.008 MB / 430.1 MB 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.0003866/0.4267, allocations: 354.6 kB / 0.5827 GB, free: 2.637 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.4267, allocations: 8.875 kB / 0.5827 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.4267, allocations: 3.062 kB / 0.5827 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.689e-05/0.4268, allocations: 168.6 kB / 0.5828 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.4268, allocations: 5.031 kB / 0.5828 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.4269, allocations: 1.094 kB / 0.5828 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.427, allocations: 51.14 kB / 0.5829 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.427, allocations: 1.062 kB / 0.5829 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.427, allocations: 0.6562 kB / 0.5829 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.427, allocations: 1.219 kB / 0.5829 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.183e-05/0.4271, allocations: 19.94 kB / 0.5829 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.4274, allocations: 253.1 kB / 0.5832 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.134e-05/0.4275, allocations: 39.44 kB / 0.5832 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.638e-05/0.4276, allocations: 12.48 kB / 0.5832 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007191/0.4283, allocations: 476.2 kB / 0.5837 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.4283, allocations: 37.05 kB / 0.5837 GB, free: 1.551 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.4283, allocations: 0 / 0.5837 GB, free: 1.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002328/0.4286, allocations: 61.08 kB / 0.5838 GB, free: 1.512 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.4286, allocations: 56.28 kB / 0.5838 GB, free: 1.445 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.523e-05/0.4287, allocations: 107.2 kB / 0.5839 GB, free: 1.344 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.4287, allocations: 26.8 kB / 0.5839 GB, free: 1.312 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.4287, allocations: 89.86 kB / 0.584 GB, free: 1.223 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.4288, allocations: 1.953 kB / 0.584 GB, free: 1.223 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.4288, allocations: 16.94 kB / 0.584 GB, free: 1.203 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.278e-05/0.4289, allocations: 317.9 kB / 0.5843 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.4289, allocations: 12.11 kB / 0.5844 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.849e-05/0.429, allocations: 11.3 kB / 0.5844 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.797e-05/0.429, allocations: 28.81 kB / 0.5844 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.429, allocations: 0 / 0.5844 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001126/0.4292, allocations: 61.31 kB / 0.5845 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.4292, allocations: 15.06 kB / 0.5845 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4292, allocations: 4 kB / 0.5845 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4292, allocations: 1.953 kB / 0.5845 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.334e-05/0.4293, allocations: 6.156 kB / 0.5845 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4293, allocations: 0.7969 kB / 0.5845 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.326e-05/0.4293, allocations: 5.875 kB / 0.5845 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.4294, allocations: 1.25 kB / 0.5845 GB, free: 0.8047 MB / 430.1 MB 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 5.345e-05/0.4294, allocations: 121 kB / 0.5846 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.4294, allocations: 1.891 kB / 0.5846 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.4296, allocations: 60.73 kB / 0.5847 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4296, allocations: 0.7031 kB / 0.5847 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4296, allocations: 1.25 kB / 0.5847 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.4296, allocations: 0 / 0.5847 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.4298, allocations: 162.6 kB / 0.5848 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4298, allocations: 0.7969 kB / 0.5848 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.4298, allocations: 14.92 kB / 0.5848 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4298, allocations: 0 / 0.5848 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.4298, allocations: 0.5156 kB / 0.5848 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4298, allocations: 0.6875 kB / 0.5848 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4299, allocations: 0.9375 kB / 0.5848 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.43, allocations: 159.4 kB / 0.585 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.43, allocations: 79.06 kB / 0.5851 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.43, allocations: 4.734 kB / 0.5851 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.767e-05/0.4301, allocations: 3.016 kB / 0.5851 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.4301, allocations: 2.219 kB / 0.5851 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.4302, allocations: 1.891 kB / 0.5851 GB, free: 192 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.146e-05/0.4302, allocations: 90.72 kB / 0.5852 GB, free: 108 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4302, allocations: 1.031 kB / 0.5852 GB, free: 108 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002366/0.4304, allocations: 12.41 kB / 0.5852 GB, free: 108 kB / 430.1 MB 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.0001584/0.4306, allocations: 113.7 kB / 0.5853 GB, free: 8 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.4308, allocations: 31.09 kB / 0.5853 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4308, allocations: 0 / 0.5853 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.427e-05/0.4308, allocations: 14.78 kB / 0.5853 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.4311, allocations: 6.406 kB / 0.5853 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/0.4314, allocations: 125.5 kB / 0.5854 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.4316, allocations: 0.6831 MB / 0.5861 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.477e-05/0.4316, allocations: 6.953 kB / 0.5861 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.767e-05/0.4317, allocations: 7.438 kB / 0.5861 GB, free: 15.15 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4317, allocations: 1.469 kB / 0.5861 GB, free: 15.15 MB / 446.1 MB Notification: Performance of Templates: time 0.00306/0.4347, allocations: 0.664 MB / 0.5868 GB, free: 15.07 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)