Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001431/0.001431, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001665/0.001665, allocations: 187 kB / 17.34 MB, free: 5.742 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.361/1.361, 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-master/package.mo): time 0.8199/0.8199, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 68.98 kB / 0.5863 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1388, allocations: 80.94 MB / 0.6654 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00153/0.1404, allocations: 0.5721 MB / 0.6659 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002111/0.1406, allocations: 35.88 kB / 0.6659 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.812e-05/0.1406, allocations: 0 / 0.6659 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.716e-05/0.1407, allocations: 0 / 0.6659 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.167e-05/0.1407, allocations: 3.984 kB / 0.6659 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.1409, allocations: 8 kB / 0.666 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.46e-05/0.141, allocations: 11.98 kB / 0.666 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.437e-05/0.141, allocations: 4 kB / 0.666 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.874e-05/0.141, allocations: 11.92 kB / 0.666 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.57e-05/0.1411, allocations: 0 / 0.666 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.1411, allocations: 0 / 0.666 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.416e-05/0.1412, allocations: 19.98 kB / 0.666 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.879e-05/0.1412, allocations: 4 kB / 0.666 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.1412, allocations: 3.938 kB / 0.666 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.77e-05/0.1413, allocations: 27.91 kB / 0.666 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1414, allocations: 7.875 kB / 0.666 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1414, allocations: 4 kB / 0.666 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1414, allocations: 0 / 0.666 GB, free: 5.012 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.0003136/0.1417, allocations: 353.2 kB / 0.6664 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.1417, allocations: 9.109 kB / 0.6664 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.1418, allocations: 8.938 kB / 0.6664 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.501e-05/0.1419, allocations: 166.9 kB / 0.6666 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.1419, allocations: 384 / 0.6666 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-06/0.1419, allocations: 384 / 0.6666 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.142, allocations: 58.25 kB / 0.6666 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.142, allocations: 4.188 kB / 0.6666 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.142, allocations: 3.938 kB / 0.6666 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.1421, allocations: 7.984 kB / 0.6666 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.849e-05/0.1421, allocations: 27.92 kB / 0.6667 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.1424, allocations: 256.8 kB / 0.6669 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.022e-05/0.1425, allocations: 26.56 kB / 0.6669 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.1425, allocations: 8.922 kB / 0.6669 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.1425, allocations: 4 kB / 0.6669 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.1425, allocations: 30.56 kB / 0.667 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.1425, allocations: 0 / 0.667 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001589/0.1427, allocations: 75.33 kB / 0.667 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.1428, allocations: 77.11 kB / 0.6671 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.65e-05/0.1428, allocations: 113.8 kB / 0.6672 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1429, allocations: 25.7 kB / 0.6672 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.1429, allocations: 112 kB / 0.6674 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.665e-06/0.1429, allocations: 3.984 kB / 0.6674 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.143, allocations: 21.72 kB / 0.6674 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1431, allocations: 319.1 kB / 0.6677 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.61e-05/0.1431, allocations: 15.98 kB / 0.6677 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.083e-05/0.1432, allocations: 66.8 kB / 0.6678 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.689e-05/0.1433, allocations: 130.2 kB / 0.6679 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1433, allocations: 0 / 0.6679 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001467/0.1435, allocations: 123.1 kB / 0.668 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.1435, allocations: 29.7 kB / 0.668 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1435, allocations: 4 kB / 0.668 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1435, allocations: 0 / 0.668 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.158e-05/0.1436, allocations: 16.23 kB / 0.6681 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.1436, allocations: 11.94 kB / 0.6681 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.439e-05/0.1437, allocations: 7.938 kB / 0.6681 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.1437, allocations: 8 kB / 0.6681 GB, free: 2.617 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 8.87e-05/0.1438, allocations: 140.8 kB / 0.6682 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.1438, allocations: 7.906 kB / 0.6682 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.173e-05/0.1438, allocations: 11.45 kB / 0.6682 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1438, allocations: 0 / 0.6682 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1439, allocations: 0 / 0.6682 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1439, allocations: 12 kB / 0.6682 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.144, allocations: 157.6 kB / 0.6684 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.144, allocations: 0 / 0.6684 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.144, allocations: 0 / 0.6684 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.144, allocations: 0 / 0.6684 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.144, allocations: 0 / 0.6684 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.144, allocations: 0 / 0.6684 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.144, allocations: 0 / 0.6684 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.1442, allocations: 177.1 kB / 0.6686 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.1442, allocations: 81.11 kB / 0.6686 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.1442, allocations: 0 / 0.6686 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.441e-05/0.1443, allocations: 0 / 0.6686 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.1443, allocations: 4 kB / 0.6686 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1443, allocations: 0 / 0.6686 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.337e-05/0.1444, allocations: 91.73 kB / 0.6687 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1444, allocations: 0 / 0.6687 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002521/0.1446, allocations: 11.94 kB / 0.6687 GB, free: 1.832 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.0001413/0.1448, allocations: 115.2 kB / 0.6689 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.1449, allocations: 91.27 kB / 0.6689 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1449, allocations: 0 / 0.6689 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.09e-05/0.145, allocations: 55.41 kB / 0.669 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.1452, allocations: 4 kB / 0.669 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002096/0.1454, allocations: 139.1 kB / 0.6691 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.1457, allocations: 0.6807 MB / 0.6698 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.46e-05/0.1457, allocations: 11.44 kB / 0.6698 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1457, allocations: 0 / 0.6698 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of Templates: time 0.002035/0.1477, allocations: 0.683 MB / 0.6705 GB, free: 15.96 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)