Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 112.8 kB / 16.41 MB, free: 6.492 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.00174/0.00174, allocations: 183 kB / 17.34 MB, free: 5.762 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7794/0.7794, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 68.62 kB / 0.582 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1564, allocations: 80.21 MB / 0.6604 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001747/0.1582, allocations: 0.5836 MB / 0.6609 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002415/0.1585, allocations: 31.89 kB / 0.661 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.825e-05/0.1585, allocations: 4 kB / 0.661 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.1586, allocations: 0 / 0.661 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.166e-05/0.1586, allocations: 0 / 0.661 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.1588, allocations: 15.97 kB / 0.661 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.863e-05/0.1589, allocations: 7.938 kB / 0.661 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.159, allocations: 4 kB / 0.661 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.003e-05/0.159, allocations: 11.94 kB / 0.661 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.081e-05/0.159, allocations: 0 / 0.661 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.159, allocations: 0 / 0.661 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.431e-05/0.1591, allocations: 23.97 kB / 0.661 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.068e-05/0.1592, allocations: 4 kB / 0.661 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.1592, allocations: 3.938 kB / 0.661 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.742e-05/0.1593, allocations: 27.91 kB / 0.6611 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1593, allocations: 0 / 0.6611 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1593, allocations: 0 / 0.6611 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.1593, allocations: 0 / 0.6611 GB, free: 9.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003466/0.1597, allocations: 353.3 kB / 0.6614 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1597, allocations: 8.031 kB / 0.6614 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.1598, allocations: 4.938 kB / 0.6614 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.692e-05/0.1599, allocations: 170.9 kB / 0.6616 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1599, allocations: 384 / 0.6616 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.1599, allocations: 384 / 0.6616 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.16, allocations: 62.17 kB / 0.6616 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1601, allocations: 192 / 0.6616 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.1601, allocations: 11.94 kB / 0.6617 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/0.1601, allocations: 4 kB / 0.6617 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.977e-05/0.1602, allocations: 27.98 kB / 0.6617 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.1605, allocations: 268.8 kB / 0.6619 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.287e-05/0.1606, allocations: 22.56 kB / 0.662 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.1606, allocations: 8.797 kB / 0.662 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.208e-06/0.1606, allocations: 4.062 kB / 0.662 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.1606, allocations: 34.56 kB / 0.662 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.1606, allocations: 0 / 0.662 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001837/0.1608, allocations: 71.3 kB / 0.6621 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.1609, allocations: 81.11 kB / 0.6621 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.901e-05/0.161, allocations: 113.8 kB / 0.6623 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.161, allocations: 25.7 kB / 0.6623 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.1611, allocations: 107.8 kB / 0.6624 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.093e-06/0.1611, allocations: 3.938 kB / 0.6624 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.1611, allocations: 25.75 kB / 0.6624 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1612, allocations: 323.1 kB / 0.6627 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.484e-05/0.1613, allocations: 15.94 kB / 0.6627 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.985e-05/0.1613, allocations: 58.86 kB / 0.6628 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.1614, allocations: 134.1 kB / 0.6629 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1614, allocations: 0 / 0.6629 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001495/0.1616, allocations: 115.2 kB / 0.663 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.1616, allocations: 33.7 kB / 0.6631 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1617, allocations: 7.984 kB / 0.6631 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1617, allocations: 0 / 0.6631 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.268e-05/0.1618, allocations: 15.94 kB / 0.6631 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.1618, allocations: 0 / 0.6631 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.1618, allocations: 11.84 kB / 0.6631 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.1619, allocations: 16.25 kB / 0.6631 GB, free: 7.09 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 9.382e-05/0.162, allocations: 144.3 kB / 0.6632 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.162, allocations: 4 kB / 0.6633 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.615e-05/0.162, allocations: 3.531 kB / 0.6633 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.162, allocations: 0 / 0.6633 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.162, allocations: 3.938 kB / 0.6633 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.162, allocations: 0 / 0.6633 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.1622, allocations: 157.6 kB / 0.6634 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1622, allocations: 4 kB / 0.6634 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-06/0.1622, allocations: 4 kB / 0.6634 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1622, allocations: 0 / 0.6634 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1622, allocations: 0 / 0.6634 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1622, allocations: 0 / 0.6634 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1622, allocations: 0 / 0.6634 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.1624, allocations: 165.2 kB / 0.6636 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.1624, allocations: 85.02 kB / 0.6637 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.1624, allocations: 3.984 kB / 0.6637 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.602e-05/0.1625, allocations: 8.031 kB / 0.6637 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.1625, allocations: 0 / 0.6637 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.1625, allocations: 4 kB / 0.6637 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.324e-05/0.1626, allocations: 91.27 kB / 0.6638 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.663e-06/0.1626, allocations: 0 / 0.6638 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002443/0.1629, allocations: 15.88 kB / 0.6638 GB, free: 6.297 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001573/0.163, allocations: 107.2 kB / 0.6639 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.1632, allocations: 91.33 kB / 0.664 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1632, allocations: 3.938 kB / 0.664 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.113e-05/0.1632, allocations: 55.41 kB / 0.664 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.1634, allocations: 7.984 kB / 0.664 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002387/0.1637, allocations: 133.5 kB / 0.6642 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.1639, allocations: 0.6807 MB / 0.6648 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.435e-05/0.164, allocations: 8 kB / 0.6648 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.164, allocations: 0 / 0.6648 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of Templates: time 0.002228/0.1662, allocations: 0.6758 MB / 0.6655 GB, free: 4.457 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)