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.0009304/0.0009302, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.318/1.318, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9156/0.9156, allocations: 135.3 MB / 427.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003193, allocations: 15.92 kB / 0.5082 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1458, allocations: 82.3 MB / 0.5886 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006531/0.1465, allocations: 311 kB / 0.5889 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000245/0.1468, allocations: 39.94 kB / 0.589 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.583e-05/0.1468, allocations: 7.938 kB / 0.589 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.1468, allocations: 0 / 0.589 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.039e-05/0.1468, allocations: 0 / 0.589 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.147, allocations: 11.98 kB / 0.589 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.174e-05/0.1471, allocations: 4 kB / 0.589 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.1471, allocations: 3.984 kB / 0.589 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.158e-05/0.1471, allocations: 4 kB / 0.589 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.534e-05/0.1472, allocations: 0 / 0.589 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.1472, allocations: 3.938 kB / 0.589 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.027e-05/0.1473, allocations: 19.98 kB / 0.589 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.1473, allocations: 8 kB / 0.589 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.1473, allocations: 33.62 kB / 0.5891 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.138e-05/0.1474, allocations: 11.98 kB / 0.5891 GB, free: 2.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1474, allocations: 4 kB / 0.5891 GB, free: 2.156 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1474, allocations: 0 / 0.5891 GB, free: 2.156 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1474, allocations: 0 / 0.5891 GB, free: 2.156 MB / 494.1 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.0002827/0.1477, allocations: 341.3 kB / 0.5894 GB, free: 1.766 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1478, allocations: 8.031 kB / 0.5894 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/0.1478, allocations: 8.828 kB / 0.5894 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.749e-05/0.1479, allocations: 176.5 kB / 0.5896 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1479, allocations: 4.375 kB / 0.5896 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.1479, allocations: 4.359 kB / 0.5896 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.1481, allocations: 54.25 kB / 0.5896 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.1481, allocations: 192 / 0.5896 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1481, allocations: 7.938 kB / 0.5896 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.451e-05/0.1481, allocations: 4 kB / 0.5896 GB, free: 1.461 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.476e-05/0.1482, allocations: 27.98 kB / 0.5897 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.1485, allocations: 272.7 kB / 0.5899 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.146e-05/0.1485, allocations: 22.52 kB / 0.59 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.434e-05/0.1485, allocations: 4.859 kB / 0.59 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.1485, allocations: 3.984 kB / 0.59 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.1486, allocations: 34.56 kB / 0.59 GB, free: 1.031 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1486, allocations: 0 / 0.59 GB, free: 1.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001505/0.1487, allocations: 67.41 kB / 0.5901 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.1488, allocations: 81.23 kB / 0.5901 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.622e-05/0.1489, allocations: 117.8 kB / 0.5903 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.1489, allocations: 29.7 kB / 0.5903 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.1489, allocations: 99.8 kB / 0.5904 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.938e-06/0.149, allocations: 15.84 kB / 0.5904 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.149, allocations: 13.7 kB / 0.5904 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.563e-05/0.1491, allocations: 318.8 kB / 0.5907 GB, free: 244 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.159e-05/0.1491, allocations: 8 kB / 0.5907 GB, free: 236 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.893e-05/0.1492, allocations: 66.92 kB / 0.5908 GB, free: 144 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.1493, allocations: 130.2 kB / 0.5909 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.1493, allocations: 4 kB / 0.5909 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001345/0.1494, allocations: 119.4 kB / 0.591 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.1495, allocations: 33.7 kB / 0.5911 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1495, allocations: 4 kB / 0.5911 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1495, allocations: 0 / 0.5911 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.112e-05/0.1496, allocations: 12 kB / 0.5911 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.1496, allocations: 4 kB / 0.5911 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.43e-05/0.1497, allocations: 7.906 kB / 0.5911 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.1497, allocations: 8 kB / 0.5911 GB, free: 15.77 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.587e-05/0.1498, allocations: 151.3 kB / 0.5912 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.1498, allocations: 8 kB / 0.5912 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.693e-05/0.1498, allocations: 3.531 kB / 0.5912 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1498, allocations: 0 / 0.5912 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1498, allocations: 4 kB / 0.5912 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1498, allocations: 0 / 0.5912 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.15, allocations: 157.6 kB / 0.5914 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.15, allocations: 0 / 0.5914 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.15, allocations: 0 / 0.5914 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.15, allocations: 0 / 0.5914 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.15, allocations: 3.984 kB / 0.5914 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.15, allocations: 0 / 0.5914 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.15, allocations: 8 kB / 0.5914 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.1501, allocations: 165.1 kB / 0.5916 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.1502, allocations: 85 kB / 0.5916 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.1502, allocations: 0 / 0.5916 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.165e-05/0.1502, allocations: 3.938 kB / 0.5917 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.1503, allocations: 4 kB / 0.5917 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1503, allocations: 0 / 0.5917 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.263e-05/0.1503, allocations: 95.3 kB / 0.5917 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.713e-06/0.1503, allocations: 0 / 0.5917 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002402/0.1506, allocations: 15.88 kB / 0.5918 GB, free: 14.97 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.0001459/0.1507, allocations: 107.2 kB / 0.5919 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.1509, allocations: 87.33 kB / 0.5919 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1509, allocations: 0.5 kB / 0.5919 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.213e-05/0.1509, allocations: 63.39 kB / 0.592 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.1511, allocations: 7.375 kB / 0.592 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002034/0.1513, allocations: 140.4 kB / 0.5921 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.1515, allocations: 0.677 MB / 0.5928 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.108e-05/0.1516, allocations: 7.438 kB / 0.5928 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1516, allocations: 0 / 0.5928 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.002006/0.1536, allocations: 0.6744 MB / 0.5935 GB, free: 13.13 MB / 0.4981 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)