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.004673/0.004673, allocations: 101 kB / 15.73 MB, free: 6.047 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.001165/0.001165, allocations: 188 kB / 16.67 MB, free: 5.977 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9763/0.9763, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.89 kB / 0.5857 GB, free: 3.312 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4755/0.4767, allocations: 80.92 MB / 0.6647 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00179/0.4785, allocations: 0.5598 MB / 0.6652 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000264/0.4788, allocations: 42.8 kB / 0.6653 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.4789, allocations: 4 kB / 0.6653 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.4789, allocations: 3.938 kB / 0.6653 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.557e-05/0.479, allocations: 1.219 kB / 0.6653 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.4792, allocations: 20.7 kB / 0.6653 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.415e-05/0.4793, allocations: 4 kB / 0.6653 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.908e-05/0.4793, allocations: 1.875 kB / 0.6653 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.916e-05/0.4794, allocations: 0 / 0.6653 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.712e-05/0.4794, allocations: 5.25 kB / 0.6653 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.4794, allocations: 1.094 kB / 0.6653 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-05/0.4795, allocations: 16.89 kB / 0.6653 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.564e-05/0.4796, allocations: 9.703 kB / 0.6653 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.4796, allocations: 9.234 kB / 0.6653 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.4797, allocations: 22.17 kB / 0.6654 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4797, allocations: 0 / 0.6654 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4797, allocations: 0 / 0.6654 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.4797, allocations: 0 / 0.6654 GB, free: 7.055 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.0002844/0.48, allocations: 354.5 kB / 0.6657 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.4801, allocations: 9.094 kB / 0.6657 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.4801, allocations: 2.625 kB / 0.6657 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.682e-05/0.4802, allocations: 164.2 kB / 0.6659 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.4802, allocations: 9.562 kB / 0.6659 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.4802, allocations: 1.938 kB / 0.6659 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.4804, allocations: 58.61 kB / 0.6659 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.4804, allocations: 192 / 0.6659 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.4804, allocations: 11.86 kB / 0.666 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.926e-05/0.4804, allocations: 5.562 kB / 0.666 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.985e-05/0.4805, allocations: 23.89 kB / 0.666 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.4808, allocations: 270.8 kB / 0.6662 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.705e-05/0.4808, allocations: 25.3 kB / 0.6663 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.548e-05/0.4809, allocations: 6.234 kB / 0.6663 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-06/0.4809, allocations: 0 / 0.6663 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.4809, allocations: 35.59 kB / 0.6663 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.4809, allocations: 1.438 kB / 0.6663 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001826/0.4811, allocations: 68.52 kB / 0.6664 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.4812, allocations: 82.67 kB / 0.6664 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.833e-05/0.4812, allocations: 117.7 kB / 0.6666 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.457e-06/0.4812, allocations: 26.7 kB / 0.6666 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.4813, allocations: 104.4 kB / 0.6667 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.558e-06/0.4813, allocations: 5.094 kB / 0.6667 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.4813, allocations: 21.88 kB / 0.6667 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.797e-05/0.4814, allocations: 320.2 kB / 0.667 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.516e-05/0.4814, allocations: 10.8 kB / 0.667 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.156e-05/0.4815, allocations: 65.44 kB / 0.6671 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.341e-05/0.4816, allocations: 133.3 kB / 0.6672 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4816, allocations: 4 kB / 0.6672 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001407/0.4817, allocations: 119.3 kB / 0.6673 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.4818, allocations: 36.42 kB / 0.6674 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.4818, allocations: 3 kB / 0.6674 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.4818, allocations: 1.062 kB / 0.6674 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.432e-05/0.4819, allocations: 15.14 kB / 0.6674 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.4819, allocations: 2.594 kB / 0.6674 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.287e-05/0.482, allocations: 7.844 kB / 0.6674 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.482, allocations: 5.875 kB / 0.6674 GB, free: 4.887 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 7.096e-05/0.4821, allocations: 154 kB / 0.6676 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.4821, allocations: 9.25 kB / 0.6676 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.207e-05/0.4821, allocations: 5.094 kB / 0.6676 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.4821, allocations: 1.094 kB / 0.6676 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4821, allocations: 0 / 0.6676 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4822, allocations: 1.094 kB / 0.6676 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.4823, allocations: 153 kB / 0.6677 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4823, allocations: 1.156 kB / 0.6677 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.4823, allocations: 0 / 0.6677 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4823, allocations: 1.219 kB / 0.6677 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.4823, allocations: 0 / 0.6677 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4823, allocations: 1.469 kB / 0.6677 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4823, allocations: 4 kB / 0.6677 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.848e-05/0.4824, allocations: 177.9 kB / 0.6679 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.4824, allocations: 81.05 kB / 0.668 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.4825, allocations: 1.5 kB / 0.668 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.917e-05/0.4825, allocations: 1.438 kB / 0.668 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.4825, allocations: 9.422 kB / 0.668 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.4826, allocations: 1.312 kB / 0.668 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.361e-05/0.4826, allocations: 87.59 kB / 0.6681 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4826, allocations: 0 / 0.6681 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002818/0.4829, allocations: 17.03 kB / 0.6681 GB, free: 4.141 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.0001571/0.4831, allocations: 113.6 kB / 0.6682 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.4832, allocations: 83.98 kB / 0.6683 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4832, allocations: 0.5 kB / 0.6683 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.279e-05/0.4832, allocations: 60.59 kB / 0.6683 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.4835, allocations: 1.344 kB / 0.6683 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.4837, allocations: 114.4 kB / 0.6684 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.4838, allocations: 0.6783 MB / 0.6691 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.421e-05/0.4839, allocations: 21.47 kB / 0.6691 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.275e-05/0.4839, allocations: 8.844 kB / 0.6691 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.484, allocations: 5.375 kB / 0.6691 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of Templates: time 0.003342/0.4873, allocations: 0.5213 MB / 0.6696 GB, free: 2.793 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)