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.006285/0.006285, allocations: 100.7 kB / 15.73 MB, free: 6.477 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.001323/0.001324, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8077/0.8077, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001459, allocations: 59.91 kB / 0.5814 GB, free: 7.539 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5167/0.5182, allocations: 80.2 MB / 0.6597 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002975/0.5212, allocations: 1.448 MB / 0.6611 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009546/0.5222, allocations: 0.5677 MB / 0.6616 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.5222, allocations: 1.125 kB / 0.6616 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.5222, allocations: 0.7969 kB / 0.6617 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.465e-05/0.5223, allocations: 9.359 kB / 0.6617 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.5226, allocations: 45.27 kB / 0.6617 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.503e-05/0.5227, allocations: 37.84 kB / 0.6617 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.5228, allocations: 12.94 kB / 0.6618 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.834e-05/0.5229, allocations: 7.312 kB / 0.6618 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.284e-05/0.523, allocations: 14.28 kB / 0.6618 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.523, allocations: 2.688 kB / 0.6618 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.5231, allocations: 59.14 kB / 0.6618 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.5231, allocations: 8.594 kB / 0.6618 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.785e-05/0.5232, allocations: 12.75 kB / 0.6619 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.5233, allocations: 58.58 kB / 0.6619 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.5233, allocations: 4.562 kB / 0.6619 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5234, allocations: 4 kB / 0.6619 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.5234, allocations: 0 / 0.6619 GB, free: 8.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003876/0.5238, allocations: 348.5 kB / 0.6622 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.5238, allocations: 8.844 kB / 0.6623 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.5238, allocations: 6 kB / 0.6623 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.596e-05/0.5239, allocations: 170.2 kB / 0.6624 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.524, allocations: 2.172 kB / 0.6624 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.524, allocations: 5.438 kB / 0.6624 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.5241, allocations: 51.27 kB / 0.6625 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.5241, allocations: 4 kB / 0.6625 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.5241, allocations: 0 / 0.6625 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.5241, allocations: 2 kB / 0.6625 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.963e-05/0.5242, allocations: 18.64 kB / 0.6625 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.5245, allocations: 258.1 kB / 0.6627 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.315e-05/0.5246, allocations: 31.17 kB / 0.6628 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.729e-05/0.5247, allocations: 21.38 kB / 0.6628 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007367/0.5254, allocations: 474.4 kB / 0.6633 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.5255, allocations: 36.28 kB / 0.6633 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5255, allocations: 4 kB / 0.6633 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002541/0.5257, allocations: 58.17 kB / 0.6633 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.5258, allocations: 60.97 kB / 0.6634 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.394e-05/0.5259, allocations: 111 kB / 0.6635 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.739e-06/0.5259, allocations: 27.08 kB / 0.6635 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.5259, allocations: 85.62 kB / 0.6636 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.5259, allocations: 7.906 kB / 0.6636 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.526, allocations: 16.44 kB / 0.6636 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.075e-05/0.526, allocations: 312 kB / 0.6639 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.383e-05/0.5261, allocations: 14.27 kB / 0.664 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/0.5261, allocations: 5.375 kB / 0.664 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.381e-05/0.5262, allocations: 34.12 kB / 0.664 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.5262, allocations: 0 / 0.664 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001122/0.5263, allocations: 62.73 kB / 0.664 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.5263, allocations: 7.312 kB / 0.6641 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.5263, allocations: 0 / 0.6641 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.5264, allocations: 5.156 kB / 0.6641 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.785e-05/0.5264, allocations: 4.719 kB / 0.6641 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.5265, allocations: 0 / 0.6641 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.303e-05/0.5265, allocations: 9.266 kB / 0.6641 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.5265, allocations: 1.438 kB / 0.6641 GB, free: 6.59 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 6.414e-05/0.5266, allocations: 111 kB / 0.6642 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.5266, allocations: 10.81 kB / 0.6642 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.5268, allocations: 61.33 kB / 0.6643 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.5268, allocations: 0 / 0.6643 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5268, allocations: 5.344 kB / 0.6643 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5268, allocations: 0 / 0.6643 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.5269, allocations: 163.7 kB / 0.6644 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5269, allocations: 3.938 kB / 0.6644 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.527, allocations: 4.906 kB / 0.6644 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.527, allocations: 32 / 0.6644 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.527, allocations: 9.5 kB / 0.6644 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.527, allocations: 0 / 0.6644 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.527, allocations: 0 / 0.6644 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.5272, allocations: 149.8 kB / 0.6646 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/0.5272, allocations: 82.2 kB / 0.6647 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.5272, allocations: 0 / 0.6647 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.942e-05/0.5273, allocations: 6.188 kB / 0.6647 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.5273, allocations: 9.234 kB / 0.6647 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.5273, allocations: 1.406 kB / 0.6647 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.881e-05/0.5274, allocations: 80.94 kB / 0.6647 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5274, allocations: 0 / 0.6647 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002304/0.5276, allocations: 24.95 kB / 0.6648 GB, free: 5.848 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.000172/0.5278, allocations: 110.1 kB / 0.6649 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.5279, allocations: 33.78 kB / 0.6649 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5279, allocations: 0 / 0.6649 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.153e-05/0.528, allocations: 8.062 kB / 0.6649 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.5282, allocations: 9.125 kB / 0.6649 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.5285, allocations: 122.7 kB / 0.665 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.5286, allocations: 0.6824 MB / 0.6657 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.595e-05/0.5286, allocations: 6.406 kB / 0.6657 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.02e-05/0.5286, allocations: 12.55 kB / 0.6657 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.5286, allocations: 0 / 0.6657 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of Templates: time 0.002888/0.5315, allocations: 0.6742 MB / 0.6664 GB, free: 4.535 MB / 0.4981 GB 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)