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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 174.3 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8706/0.8706, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.588/1.588, allocations: 221.3 MB / 400.4 MB, free: 5.805 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.0008433/0.0008433, allocations: 94.75 kB / 483.3 MB, free: 5.812 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.599e-05/4.614e-05, allocations: 4.969 kB / 0.56 GB, free: 87.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1691, allocations: 82.31 MB / 0.6404 GB, free: 7.801 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6661/0.8352, allocations: 110.5 MB / 0.7483 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/0.8354, allocations: 76.89 kB / 0.7484 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.001677/0.8371, allocations: 0.5522 MB / 0.7489 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8371, allocations: 0 / 0.7489 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.8371, allocations: 0 / 0.7489 GB, free: 27.63 MB / 0.5105 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.0002971/0.8374, allocations: 341 kB / 0.7492 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.8375, allocations: 11.72 kB / 0.7492 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.8375, allocations: 7.906 kB / 0.7493 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.8376, allocations: 173.9 kB / 0.7494 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.8377, allocations: 5.766 kB / 0.7494 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.8377, allocations: 0 / 0.7494 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.8378, allocations: 55.23 kB / 0.7495 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.8378, allocations: 0 / 0.7495 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.8379, allocations: 2.578 kB / 0.7495 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.8379, allocations: 7.812 kB / 0.7495 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.421e-05/0.838, allocations: 18.12 kB / 0.7495 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.8383, allocations: 267.3 kB / 0.7498 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.713e-05/0.8383, allocations: 21.34 kB / 0.7498 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.47e-05/0.8384, allocations: 8.734 kB / 0.7498 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-06/0.8384, allocations: 3.938 kB / 0.7498 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.8384, allocations: 36.06 kB / 0.7498 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.8384, allocations: 0 / 0.7498 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0002058/0.8386, allocations: 70.08 kB / 0.7499 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.8387, allocations: 77.11 kB / 0.75 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.8388, allocations: 103.1 kB / 0.7501 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.8389, allocations: 29.55 kB / 0.7501 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.723e-05/0.839, allocations: 114.2 kB / 0.7502 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.024e-05/0.839, allocations: 7.688 kB / 0.7502 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.839, allocations: 0 / 0.7502 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.8392, allocations: 314.6 kB / 0.7505 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.882e-05/0.8392, allocations: 14.83 kB / 0.7505 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.534e-05/0.8393, allocations: 58.03 kB / 0.7506 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.556e-05/0.8393, allocations: 50.05 kB / 0.7506 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.8393, allocations: 0 / 0.7506 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001408/0.8395, allocations: 118 kB / 0.7507 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.8395, allocations: 29.55 kB / 0.7508 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.8395, allocations: 4 kB / 0.7508 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.8396, allocations: 7.781 kB / 0.7508 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.801e-05/0.8396, allocations: 10.72 kB / 0.7508 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.8397, allocations: 11.7 kB / 0.7508 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.446e-05/0.8397, allocations: 15.12 kB / 0.7508 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.8398, allocations: 3.906 kB / 0.7508 GB, free: 25.73 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.391e-05/0.8399, allocations: 130.6 kB / 0.7509 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.8399, allocations: 7.688 kB / 0.751 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.8399, allocations: 6.047 kB / 0.751 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.8399, allocations: 4 kB / 0.751 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.8399, allocations: 0 / 0.751 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.8399, allocations: 3.953 kB / 0.751 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.8401, allocations: 152 kB / 0.7511 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8401, allocations: 0 / 0.7511 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-06/0.8401, allocations: 5.703 kB / 0.7511 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.8401, allocations: 0 / 0.7511 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.8401, allocations: 0 / 0.7511 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.8402, allocations: 0 / 0.7511 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8402, allocations: 0 / 0.7511 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.8403, allocations: 178.6 kB / 0.7513 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.8404, allocations: 81.02 kB / 0.7514 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.8404, allocations: 0 / 0.7514 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.929e-05/0.8404, allocations: 0 / 0.7514 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.8405, allocations: 6.875 kB / 0.7514 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.8405, allocations: 0 / 0.7514 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.653e-05/0.8405, allocations: 87.58 kB / 0.7515 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8405, allocations: 3.938 kB / 0.7515 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002329/0.8408, allocations: 18.72 kB / 0.7515 GB, free: 25.04 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000204/0.841, allocations: 105.4 kB / 0.7516 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.8411, allocations: 81.28 kB / 0.7517 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.8412, allocations: 0 / 0.7517 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.224e-05/0.8412, allocations: 59.19 kB / 0.7517 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.8413, allocations: 15.8 kB / 0.7517 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002058/0.8416, allocations: 70.06 kB / 0.7518 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.8419, allocations: 0.6813 MB / 0.7525 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.558e-05/0.842, allocations: 10.08 kB / 0.7525 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.464e-05/0.842, allocations: 11.31 kB / 0.7525 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of SimCode: time 4.01e-07/0.842, allocations: 0 / 0.7525 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of Templates: time 0.00241/0.8444, allocations: 497.3 kB / 0.753 GB, free: 23.97 MB / 0.5105 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)