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.0009449/0.000945, allocations: 116.2 kB / 16.42 MB, free: 6.504 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.0009546/0.0009546, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.188/1.188, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.716/0.716, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 73.39 kB / 0.5863 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.121, allocations: 80.92 MB / 0.6653 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001503/0.1226, allocations: 0.5738 MB / 0.6659 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002171/0.1228, allocations: 43.86 kB / 0.6659 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.652e-05/0.1228, allocations: 0 / 0.6659 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.136e-05/0.1228, allocations: 3.938 kB / 0.666 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.219e-05/0.1229, allocations: 4 kB / 0.666 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.1231, allocations: 11.97 kB / 0.666 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.476e-05/0.1231, allocations: 4 kB / 0.666 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.418e-05/0.1232, allocations: 15.94 kB / 0.666 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.496e-05/0.1232, allocations: 0 / 0.666 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.321e-05/0.1232, allocations: 0 / 0.666 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.1232, allocations: 4 kB / 0.666 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.476e-05/0.1233, allocations: 19.92 kB / 0.666 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.1233, allocations: 0 / 0.666 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.1234, allocations: 15.92 kB / 0.666 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.166e-05/0.1235, allocations: 23.91 kB / 0.666 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1235, allocations: 0 / 0.666 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1235, allocations: 0 / 0.666 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.1235, allocations: 0 / 0.666 GB, free: 5.051 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.0002736/0.1238, allocations: 353.2 kB / 0.6664 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1238, allocations: 13.11 kB / 0.6664 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.1238, allocations: 0.9375 kB / 0.6664 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.982e-05/0.1239, allocations: 166.9 kB / 0.6666 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-06/0.1239, allocations: 384 / 0.6666 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.1239, allocations: 4.375 kB / 0.6666 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.1241, allocations: 58.25 kB / 0.6666 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.1241, allocations: 4.125 kB / 0.6666 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1241, allocations: 7.938 kB / 0.6666 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.1241, allocations: 7.984 kB / 0.6666 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.281e-05/0.1242, allocations: 23.98 kB / 0.6667 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.1245, allocations: 268.8 kB / 0.6669 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.193e-05/0.1245, allocations: 14.58 kB / 0.6669 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.784e-05/0.1245, allocations: 12.92 kB / 0.6669 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-06/0.1245, allocations: 0 / 0.6669 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.1246, allocations: 38.5 kB / 0.667 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.1246, allocations: 0 / 0.667 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001424/0.1247, allocations: 67.39 kB / 0.667 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.933e-05/0.1248, allocations: 77.11 kB / 0.6671 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.556e-05/0.1249, allocations: 117.8 kB / 0.6672 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.1249, allocations: 25.7 kB / 0.6673 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.125, allocations: 107.7 kB / 0.6674 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.282e-06/0.125, allocations: 4.125 kB / 0.6674 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.125, allocations: 25.72 kB / 0.6674 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.1251, allocations: 319.1 kB / 0.6677 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.325e-05/0.1251, allocations: 11.98 kB / 0.6677 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.878e-05/0.1252, allocations: 62.8 kB / 0.6678 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.932e-05/0.1253, allocations: 130.1 kB / 0.6679 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1253, allocations: 8 kB / 0.6679 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001304/0.1254, allocations: 123.1 kB / 0.668 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.1255, allocations: 29.7 kB / 0.668 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1255, allocations: 4 kB / 0.668 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1255, allocations: 4 kB / 0.668 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.994e-05/0.1256, allocations: 15.92 kB / 0.6681 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1256, allocations: 4.25 kB / 0.6681 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.962e-05/0.1256, allocations: 11.94 kB / 0.6681 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1257, allocations: 4 kB / 0.6681 GB, free: 2.656 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.638e-05/0.1257, allocations: 152.8 kB / 0.6682 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.1258, allocations: 3.906 kB / 0.6682 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.087e-06/0.1258, allocations: 3.531 kB / 0.6682 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1258, allocations: 4 kB / 0.6682 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1258, allocations: 0 / 0.6682 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.1258, allocations: 77.11 kB / 0.6683 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.1258, allocations: 3.938 kB / 0.6683 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.324e-05/0.1259, allocations: 4 kB / 0.6683 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.042e-05/0.1259, allocations: 7.938 kB / 0.6683 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001028/0.126, allocations: 198.1 kB / 0.6685 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001136/0.1262, allocations: 236.5 kB / 0.6687 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.742e-05/0.1262, allocations: 4 kB / 0.6687 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.863e-05/0.1262, allocations: 103.2 kB / 0.6688 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of Backend: time 1.81e-07/0.1262, allocations: 0 / 0.6688 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003821/0.1266, allocations: 163.6 kB / 0.669 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0003474/0.127, allocations: 0.6144 MB / 0.6696 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of Templates: time 0.002315/0.1293, allocations: 0.5398 MB / 0.6701 GB, free: 416 kB / 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)