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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7477/0.7477, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 403.3 MB, free: 7.113 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 99.73 kB / 484.3 MB, free: 8.715 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 55.92 kB / 0.5619 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1366, allocations: 80.21 MB / 0.6402 GB, free: 6.77 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002074/0.1387, allocations: 0.6362 MB / 0.6408 GB, free: 6.129 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003341/0.1391, allocations: 47.92 kB / 0.6409 GB, free: 6.082 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.1391, allocations: 0 / 0.6409 GB, free: 6.082 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.789e-05/0.1392, allocations: 3.938 kB / 0.6409 GB, free: 6.078 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.971e-05/0.1393, allocations: 0 / 0.6409 GB, free: 6.078 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.1395, allocations: 8 kB / 0.6409 GB, free: 6.07 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.163e-05/0.1396, allocations: 7.984 kB / 0.6409 GB, free: 6.062 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.1396, allocations: 0 / 0.6409 GB, free: 6.062 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.338e-05/0.1396, allocations: 4 kB / 0.6409 GB, free: 6.059 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.797e-05/0.1397, allocations: 11.88 kB / 0.6409 GB, free: 6.047 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1397, allocations: 0 / 0.6409 GB, free: 6.047 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.723e-05/0.1398, allocations: 19.98 kB / 0.6409 GB, free: 6.027 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.236e-05/0.1398, allocations: 0 / 0.6409 GB, free: 6.027 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.1399, allocations: 11.92 kB / 0.6409 GB, free: 6.016 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.14, allocations: 19.97 kB / 0.6409 GB, free: 5.996 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.14, allocations: 3.938 kB / 0.6409 GB, free: 5.992 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.14, allocations: 0 / 0.6409 GB, free: 5.992 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.14, allocations: 0 / 0.6409 GB, free: 5.992 MB / 442.7 MB 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.0003434/0.1404, allocations: 353.2 kB / 0.6413 GB, free: 5.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1404, allocations: 12.03 kB / 0.6413 GB, free: 5.578 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.1405, allocations: 4.938 kB / 0.6413 GB, free: 5.574 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.403e-05/0.1406, allocations: 168.5 kB / 0.6415 GB, free: 5.371 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1406, allocations: 4.375 kB / 0.6415 GB, free: 5.367 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.1406, allocations: 384 / 0.6415 GB, free: 5.367 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.1407, allocations: 58.23 kB / 0.6415 GB, free: 5.305 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1407, allocations: 192 / 0.6415 GB, free: 5.305 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1408, allocations: 3.938 kB / 0.6415 GB, free: 5.301 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.1408, allocations: 7.984 kB / 0.6415 GB, free: 5.293 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.233e-05/0.1408, allocations: 23.98 kB / 0.6415 GB, free: 5.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.1412, allocations: 272.8 kB / 0.6418 GB, free: 4.953 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.097e-05/0.1413, allocations: 18.58 kB / 0.6418 GB, free: 4.926 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.1413, allocations: 12.84 kB / 0.6418 GB, free: 4.91 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-06/0.1413, allocations: 0 / 0.6418 GB, free: 4.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.1414, allocations: 34.56 kB / 0.6419 GB, free: 4.867 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 2.906e-06/0.1414, allocations: 3.984 kB / 0.6419 GB, free: 4.863 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.000183/0.1416, allocations: 75.34 kB / 0.6419 GB, free: 4.777 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.1416, allocations: 81.09 kB / 0.642 GB, free: 4.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.164e-05/0.1417, allocations: 109.8 kB / 0.6421 GB, free: 4.562 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.1417, allocations: 25.7 kB / 0.6422 GB, free: 4.531 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.1418, allocations: 107.7 kB / 0.6423 GB, free: 4.422 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.663e-06/0.1418, allocations: 0 / 0.6423 GB, free: 4.422 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.1418, allocations: 25.7 kB / 0.6423 GB, free: 4.391 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.1419, allocations: 322.8 kB / 0.6426 GB, free: 4.066 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.471e-05/0.142, allocations: 12.11 kB / 0.6426 GB, free: 4.055 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-05/0.142, allocations: 58.86 kB / 0.6427 GB, free: 3.973 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.698e-05/0.1421, allocations: 134.1 kB / 0.6428 GB, free: 3.805 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1421, allocations: 0 / 0.6428 GB, free: 3.805 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001458/0.1423, allocations: 123.2 kB / 0.6429 GB, free: 3.672 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.1423, allocations: 33.7 kB / 0.6429 GB, free: 3.633 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1423, allocations: 0 / 0.6429 GB, free: 3.633 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1424, allocations: 7.938 kB / 0.6429 GB, free: 3.625 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.202e-05/0.1424, allocations: 15.94 kB / 0.643 GB, free: 3.609 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.1425, allocations: 7.984 kB / 0.643 GB, free: 3.602 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.79e-05/0.1425, allocations: 8 kB / 0.643 GB, free: 3.594 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.1426, allocations: 4 kB / 0.643 GB, free: 3.59 MB / 442.7 MB 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 8.917e-05/0.1427, allocations: 160.8 kB / 0.6431 GB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.1427, allocations: 0 / 0.6431 GB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.455e-05/0.1427, allocations: 11.52 kB / 0.6431 GB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1427, allocations: 0 / 0.6431 GB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1427, allocations: 0 / 0.6431 GB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.1427, allocations: 0 / 0.6431 GB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.1429, allocations: 157.5 kB / 0.6433 GB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1429, allocations: 0 / 0.6433 GB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1429, allocations: 0 / 0.6433 GB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1429, allocations: 0 / 0.6433 GB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.1429, allocations: 4 kB / 0.6433 GB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1429, allocations: 4 kB / 0.6433 GB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1429, allocations: 0 / 0.6433 GB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.1432, allocations: 0.7022 MB / 0.644 GB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.1433, allocations: 85.09 kB / 0.6441 GB, free: 2.328 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.1433, allocations: 3.938 kB / 0.6441 GB, free: 2.324 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.43e-05/0.1434, allocations: 4.031 kB / 0.6441 GB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.147e-05/0.1434, allocations: 4 kB / 0.6441 GB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.1434, allocations: 4 kB / 0.6441 GB, free: 2.312 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.373e-05/0.1434, allocations: 87.27 kB / 0.6442 GB, free: 2.227 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1434, allocations: 0 / 0.6442 GB, free: 2.227 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003358/0.1438, allocations: 12 kB / 0.6442 GB, free: 2.215 MB / 442.7 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 (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.0001468/0.1439, allocations: 109.8 kB / 0.6443 GB, free: 2.098 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.1441, allocations: 91.39 kB / 0.6444 GB, free: 1.996 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1441, allocations: 0 / 0.6444 GB, free: 1.996 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.144e-05/0.1441, allocations: 59.39 kB / 0.6444 GB, free: 1.926 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.1443, allocations: 9.703 kB / 0.6444 GB, free: 1.918 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002609/0.1446, allocations: 213.6 kB / 0.6446 GB, free: 1.672 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.1448, allocations: 0.677 MB / 0.6453 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.817e-05/0.1449, allocations: 16.42 kB / 0.6453 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.058e-05/0.145, allocations: 7.438 kB / 0.6453 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of SimCode: time 2.1e-07/0.145, allocations: 0 / 0.6453 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of Templates: time 0.002237/0.1472, allocations: 0.5032 MB / 0.6458 GB, free: 456 kB / 442.7 MB 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)