Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001021/0.001026, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00793/0.00793, allocations: 169.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4878/0.4878, allocations: 55.01 MB / 325.8 MB, free: 0.6445 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000629/0.0006291, allocations: 16 kB / 397.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4392/0.4398, allocations: 60.71 MB / 458 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006703/0.4406, allocations: 286.1 kB / 458.3 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002699/0.4408, allocations: 34.73 kB / 458.3 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.608e-05/0.4409, allocations: 1.938 kB / 458.3 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.532e-05/0.4409, allocations: 0 / 458.3 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.699e-05/0.4409, allocations: 4.734 kB / 458.3 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.4411, allocations: 9.188 kB / 458.3 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.296e-05/0.4412, allocations: 5.562 kB / 458.3 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.999e-05/0.4412, allocations: 0.6562 kB / 458.3 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.348e-05/0.4412, allocations: 4.641 kB / 458.3 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.485e-05/0.4413, allocations: 4.406 kB / 458.3 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.4413, allocations: 0.5938 kB / 458.3 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.596e-05/0.4414, allocations: 28.05 kB / 458.3 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.023e-05/0.4414, allocations: 0 / 458.3 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.4414, allocations: 36.75 kB / 458.4 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.536e-05/0.4415, allocations: 31.67 kB / 458.4 MB, free: 38.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.4415, allocations: 0.9062 kB / 458.4 MB, free: 38.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4416, allocations: 0 / 458.4 MB, free: 38.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.4416, allocations: 0 / 458.4 MB, free: 38.37 MB / 382.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.0002667/0.4418, allocations: 345.3 kB / 458.8 MB, free: 38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.4419, allocations: 9.625 kB / 458.8 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.4419, allocations: 5.906 kB / 458.8 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.871e-05/0.442, allocations: 160.4 kB / 458.9 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.442, allocations: 7.844 kB / 458.9 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.442, allocations: 384 / 458.9 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.4421, allocations: 57.8 kB / 459 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.4422, allocations: 0.6562 kB / 459 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.4422, allocations: 0.8906 kB / 459 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/0.4422, allocations: 13.33 kB / 459 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.434e-05/0.4423, allocations: 28.16 kB / 459 MB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.4425, allocations: 272.7 kB / 459.3 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.476e-05/0.4426, allocations: 18.3 kB / 459.3 MB, free: 37.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.297e-05/0.4426, allocations: 9.859 kB / 459.3 MB, free: 37.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-06/0.4426, allocations: 0 / 459.3 MB, free: 37.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.4426, allocations: 33.22 kB / 459.4 MB, free: 37.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.683e-06/0.4426, allocations: 2.25 kB / 459.4 MB, free: 37.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001525/0.4428, allocations: 71.5 kB / 459.4 MB, free: 37.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.4428, allocations: 82.64 kB / 459.5 MB, free: 37.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.812e-05/0.4429, allocations: 119.7 kB / 459.6 MB, free: 37.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.4429, allocations: 28.39 kB / 459.7 MB, free: 37.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.117e-05/0.443, allocations: 104.4 kB / 459.8 MB, free: 37.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.961e-06/0.443, allocations: 0 / 459.8 MB, free: 37.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.443, allocations: 15.38 kB / 459.8 MB, free: 37.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.907e-05/0.4431, allocations: 320.3 kB / 460.1 MB, free: 36.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.035e-05/0.4431, allocations: 14.31 kB / 460.1 MB, free: 36.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.456e-05/0.4431, allocations: 61.22 kB / 460.2 MB, free: 36.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.467e-05/0.4432, allocations: 131 kB / 460.3 MB, free: 36.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4432, allocations: 0 / 460.3 MB, free: 36.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001205/0.4434, allocations: 116.6 kB / 460.4 MB, free: 36.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.4434, allocations: 36.73 kB / 460.4 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4434, allocations: 0 / 460.4 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.4434, allocations: 3 kB / 460.4 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.078e-05/0.4435, allocations: 19.69 kB / 460.5 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.4435, allocations: 2.875 kB / 460.5 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.801e-05/0.4436, allocations: 14.7 kB / 460.5 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.4436, allocations: 6.438 kB / 460.5 MB, free: 36.38 MB / 382.1 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 6.533e-05/0.4437, allocations: 146 kB / 460.6 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.4437, allocations: 0 / 460.6 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.427e-05/0.4437, allocations: 11.92 kB / 460.6 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.4437, allocations: 1.312 kB / 460.6 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4437, allocations: 0.5938 kB / 460.6 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.4437, allocations: 5.031 kB / 460.6 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.849e-05/0.4438, allocations: 154.5 kB / 460.8 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4438, allocations: 0 / 460.8 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.4438, allocations: 1.406 kB / 460.8 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-06/0.4439, allocations: 0 / 460.8 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.4439, allocations: 2.781 kB / 460.8 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4439, allocations: 0.9375 kB / 460.8 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4439, allocations: 5.656 kB / 460.8 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.673e-05/0.444, allocations: 170.2 kB / 461 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/0.444, allocations: 83.3 kB / 461.1 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.444, allocations: 0 / 461.1 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.159e-05/0.4441, allocations: 0 / 461.1 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.4441, allocations: 7.531 kB / 461.1 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.4441, allocations: 2.688 kB / 461.1 MB, free: 35.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.754e-05/0.4441, allocations: 90.25 kB / 461.2 MB, free: 35.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4441, allocations: 0 / 461.2 MB, free: 35.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002246/0.4444, allocations: 14.91 kB / 461.2 MB, free: 35.7 MB / 382.1 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.0001227/0.4445, allocations: 103.2 kB / 461.3 MB, free: 35.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.4446, allocations: 90.3 kB / 461.4 MB, free: 35.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4446, allocations: 0.6562 kB / 461.4 MB, free: 35.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.194e-05/0.4447, allocations: 61.97 kB / 461.4 MB, free: 35.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.4448, allocations: 0 / 461.4 MB, free: 35.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001759/0.445, allocations: 116.7 kB / 461.5 MB, free: 35.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.4451, allocations: 0.6781 MB / 462.2 MB, free: 34.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.333e-05/0.4452, allocations: 8.859 kB / 462.2 MB, free: 34.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.568e-06/0.4452, allocations: 8.188 kB / 462.2 MB, free: 34.66 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4452, allocations: 2.906 kB / 462.2 MB, free: 34.66 MB / 382.1 MB Notification: Performance of Templates: time 0.002339/0.4476, allocations: 0.4942 MB / 462.7 MB, free: 34.62 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) Environment - environmentSimulation: