Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential") translateModel(Annex60.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009406/0.009406, allocations: 102.8 kB / 15.73 MB, free: 6.035 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.00218/0.00218, allocations: 193.5 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4409/0.4409, allocations: 54.94 MB / 324.8 MB, free: 28 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 65.89 kB / 456.3 MB, free: 38.28 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1484, allocations: 59.59 MB / 0.5038 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothExponential): time 0.002984/0.1515, allocations: 1.396 MB / 0.5051 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004844/0.152, allocations: 182 kB / 0.5053 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.517e-05/0.1521, allocations: 1.375 kB / 0.5053 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.855e-05/0.1521, allocations: 3.938 kB / 0.5053 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.067e-05/0.1522, allocations: 3.938 kB / 0.5053 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.1526, allocations: 43.77 kB / 0.5053 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.262e-05/0.1527, allocations: 21.56 kB / 0.5054 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1528, allocations: 6.734 kB / 0.5054 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.751e-05/0.1528, allocations: 16.05 kB / 0.5054 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.563e-05/0.1529, allocations: 10.67 kB / 0.5054 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1529, allocations: 6.75 kB / 0.5054 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.153, allocations: 32.47 kB / 0.5054 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.153, allocations: 4 kB / 0.5054 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.1531, allocations: 14.67 kB / 0.5055 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.1532, allocations: 42.88 kB / 0.5055 GB, free: 8.465 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1532, allocations: 0 / 0.5055 GB, free: 8.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1532, allocations: 1.375 kB / 0.5055 GB, free: 8.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.1533, allocations: 0 / 0.5055 GB, free: 8.465 MB / 382.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.0004459/0.1537, allocations: 338.6 kB / 0.5058 GB, free: 8.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.1538, allocations: 13.62 kB / 0.5058 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.1538, allocations: 2.312 kB / 0.5058 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.956e-05/0.1539, allocations: 169.6 kB / 0.506 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.1539, allocations: 5.734 kB / 0.506 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.1539, allocations: 1.75 kB / 0.506 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1541, allocations: 48.62 kB / 0.506 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1541, allocations: 0 / 0.506 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1541, allocations: 7.922 kB / 0.5061 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.1542, allocations: 1.375 kB / 0.5061 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.1543, allocations: 35.22 kB / 0.5061 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003053/0.1546, allocations: 257.1 kB / 0.5063 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.1548, allocations: 34.94 kB / 0.5064 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.43e-05/0.1549, allocations: 18.47 kB / 0.5064 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.97e-05/0.1549, allocations: 87.84 kB / 0.5065 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.155, allocations: 43.88 kB / 0.5065 GB, free: 7.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.155, allocations: 0 / 0.5065 GB, free: 7.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003602/0.1553, allocations: 77.27 kB / 0.5066 GB, free: 7.285 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.1554, allocations: 51.41 kB / 0.5066 GB, free: 7.223 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.453e-05/0.1554, allocations: 104.9 kB / 0.5067 GB, free: 7.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.1555, allocations: 25.7 kB / 0.5068 GB, free: 7.086 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.1555, allocations: 89.5 kB / 0.5068 GB, free: 6.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.1555, allocations: 5.281 kB / 0.5068 GB, free: 6.992 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.1556, allocations: 12.47 kB / 0.5069 GB, free: 6.977 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.702e-05/0.1556, allocations: 322.7 kB / 0.5072 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.487e-05/0.1557, allocations: 17.45 kB / 0.5072 GB, free: 6.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.617e-05/0.1558, allocations: 26 kB / 0.5072 GB, free: 6.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.1559, allocations: 39.64 kB / 0.5072 GB, free: 6.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1559, allocations: 0 / 0.5072 GB, free: 6.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001728/0.1561, allocations: 64.88 kB / 0.5073 GB, free: 6.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1561, allocations: 5.625 kB / 0.5073 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1561, allocations: 4.094 kB / 0.5073 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1562, allocations: 1.312 kB / 0.5073 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.834e-05/0.1563, allocations: 9.266 kB / 0.5073 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.1563, allocations: 1.031 kB / 0.5073 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.668e-05/0.1563, allocations: 8 kB / 0.5073 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.1563, allocations: 0 / 0.5073 GB, free: 6.547 MB / 382.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 6.095e-05/0.1564, allocations: 112.2 kB / 0.5074 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.1564, allocations: 9.234 kB / 0.5075 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.1567, allocations: 78.81 kB / 0.5075 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1567, allocations: 0 / 0.5075 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1567, allocations: 0.7188 kB / 0.5075 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1567, allocations: 1.188 kB / 0.5075 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.1568, allocations: 158.6 kB / 0.5077 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1568, allocations: 0 / 0.5077 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.563e-05/0.1569, allocations: 10.23 kB / 0.5077 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1569, allocations: 0 / 0.5077 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.1569, allocations: 5.406 kB / 0.5077 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1569, allocations: 0 / 0.5077 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1569, allocations: 0 / 0.5077 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.1571, allocations: 168 kB / 0.5079 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.1572, allocations: 77.11 kB / 0.5079 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.1572, allocations: 5.641 kB / 0.5079 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/0.1573, allocations: 7.688 kB / 0.5079 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.1573, allocations: 9.234 kB / 0.508 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.1573, allocations: 1.219 kB / 0.508 GB, free: 5.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.318e-05/0.1573, allocations: 82.91 kB / 0.508 GB, free: 5.809 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1574, allocations: 0 / 0.508 GB, free: 5.809 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.1576, allocations: 14.34 kB / 0.508 GB, free: 5.805 MB / 382.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.0001545/0.1578, allocations: 107.4 kB / 0.5081 GB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.158, allocations: 45.39 kB / 0.5082 GB, free: 5.684 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.158, allocations: 0 / 0.5082 GB, free: 5.684 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.129e-05/0.1581, allocations: 24.17 kB / 0.5082 GB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.1584, allocations: 1.875 kB / 0.5082 GB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/0.1587, allocations: 118.4 kB / 0.5083 GB, free: 5.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.1589, allocations: 0.6817 MB / 0.509 GB, free: 4.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.476e-05/0.1589, allocations: 1.531 kB / 0.509 GB, free: 4.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.971e-05/0.1589, allocations: 8.75 kB / 0.509 GB, free: 4.832 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1589, allocations: 0 / 0.509 GB, free: 4.832 MB / 382.1 MB Notification: Performance of Templates: time 0.003142/0.1621, allocations: 0.5984 MB / 0.5096 GB, free: 4.52 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)