Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.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/ModelicaByExample 0.6.0/package.mo", uses=false) Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.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(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector") translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 99.7 kB / 16.35 MB, free: 5.828 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.002112/0.002112, allocations: 196.8 kB / 17.29 MB, free: 5.484 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.341/1.341, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04184/0.04184, allocations: 8.117 MB / 278.6 MB, free: 3.949 MB / 222.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: ModelicaByExample 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.001431/0.001431, allocations: 72.27 kB / 338.6 MB, free: 7.836 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2121, allocations: 48.28 MB / 386.9 MB, free: 51.58 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001654/0.2138, allocations: 424.8 kB / 387.3 MB, free: 51.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 8.439e-05/0.2139, allocations: 31.89 kB / 387.4 MB, free: 51.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.214, allocations: 0 / 387.4 MB, free: 51.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.2141, allocations: 10.5 kB / 387.4 MB, free: 51.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.211e-05/0.2142, allocations: 24.42 kB / 387.4 MB, free: 51.33 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.157e-05/0.2143, allocations: 9.625 kB / 387.4 MB, free: 51.33 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.69e-05/0.2143, allocations: 18.66 kB / 387.4 MB, free: 51.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.055e-05/0.2144, allocations: 2.312 kB / 387.4 MB, free: 51.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.928e-05/0.2144, allocations: 14.69 kB / 387.4 MB, free: 51.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.452e-05/0.2145, allocations: 30.3 kB / 387.5 MB, free: 51.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.2145, allocations: 3.984 kB / 387.5 MB, free: 51.31 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.078e-05/0.2146, allocations: 7.562 kB / 387.5 MB, free: 51.31 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.2146, allocations: 0 / 387.5 MB, free: 51.31 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.916e-05/0.2146, allocations: 11.56 kB / 387.5 MB, free: 51.3 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.839e-05/0.2147, allocations: 20.73 kB / 387.5 MB, free: 51.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2147, allocations: 0 / 387.5 MB, free: 51.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2147, allocations: 0.625 kB / 387.5 MB, free: 51.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.2147, allocations: 0 / 387.5 MB, free: 51.3 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002432/0.215, allocations: 321.3 kB / 387.8 MB, free: 50.95 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.215, allocations: 14.8 kB / 387.8 MB, free: 50.94 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.2151, allocations: 2.984 kB / 387.8 MB, free: 50.94 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.439e-05/0.2152, allocations: 161.6 kB / 388 MB, free: 50.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.2152, allocations: 2.812 kB / 388 MB, free: 50.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.2152, allocations: 2.406 kB / 388 MB, free: 50.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.718e-05/0.2153, allocations: 39.39 kB / 388 MB, free: 50.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.2153, allocations: 192 / 388 MB, free: 50.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.2153, allocations: 6.547 kB / 388 MB, free: 50.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.2153, allocations: 3.938 kB / 388 MB, free: 50.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.073e-05/0.2154, allocations: 10.56 kB / 388.1 MB, free: 50.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001059/0.2155, allocations: 154.7 kB / 388.2 MB, free: 50.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.2156, allocations: 33.33 kB / 388.2 MB, free: 50.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.2157, allocations: 11.09 kB / 388.3 MB, free: 50.47 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.2157, allocations: 2.062 kB / 388.3 MB, free: 50.47 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.152e-05/0.2157, allocations: 32.81 kB / 388.3 MB, free: 50.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2157, allocations: 0.5 kB / 388.3 MB, free: 50.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001264/0.2159, allocations: 56.81 kB / 388.3 MB, free: 50.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.2159, allocations: 54.48 kB / 388.4 MB, free: 50.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.19e-05/0.2159, allocations: 96.86 kB / 388.5 MB, free: 50.22 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.216, allocations: 28.02 kB / 388.5 MB, free: 50.19 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.493e-05/0.216, allocations: 80.14 kB / 388.6 MB, free: 50.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.216, allocations: 11.12 kB / 388.6 MB, free: 50.1 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.216, allocations: 18.11 kB / 388.6 MB, free: 50.08 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.534e-05/0.2161, allocations: 315.9 kB / 388.9 MB, free: 49.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.739e-05/0.2161, allocations: 8.625 kB / 388.9 MB, free: 49.76 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.409e-05/0.2162, allocations: 20.78 kB / 389 MB, free: 49.74 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.164e-05/0.2162, allocations: 29.47 kB / 389 MB, free: 49.72 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2162, allocations: 2.109 kB / 389 MB, free: 49.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.753e-05/0.2163, allocations: 46.34 kB / 389 MB, free: 49.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.2163, allocations: 9.969 kB / 389 MB, free: 49.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2163, allocations: 3.938 kB / 389.1 MB, free: 49.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.2164, allocations: 5.938 kB / 389.1 MB, free: 49.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.518e-05/0.2164, allocations: 7.625 kB / 389.1 MB, free: 49.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.2164, allocations: 0.9688 kB / 389.1 MB, free: 49.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.679e-05/0.2164, allocations: 5 kB / 389.1 MB, free: 49.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.2164, allocations: 2.344 kB / 389.1 MB, free: 49.67 MB / 318.1 MB Warning: Assuming fixed start value for the following 1 variables: z:VARIABLE(fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 9.496e-05/0.2165, allocations: 116.8 kB / 389.2 MB, free: 49.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-06/0.2166, allocations: 1.438 kB / 389.2 MB, free: 49.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.2166, allocations: 8.188 kB / 389.2 MB, free: 49.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.2166, allocations: 2.281 kB / 389.2 MB, free: 49.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2166, allocations: 0.6562 kB / 389.2 MB, free: 49.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.2166, allocations: 0 / 389.2 MB, free: 49.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.739e-05/0.2167, allocations: 153.4 kB / 389.4 MB, free: 49.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2167, allocations: 0 / 389.4 MB, free: 49.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.375e-05/0.2167, allocations: 10.3 kB / 389.4 MB, free: 49.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.2167, allocations: 1.031 kB / 389.4 MB, free: 49.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.2167, allocations: 4.594 kB / 389.4 MB, free: 49.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2168, allocations: 1.344 kB / 389.4 MB, free: 49.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2168, allocations: 0.75 kB / 389.4 MB, free: 49.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.375e-05/0.2169, allocations: 81.05 kB / 389.4 MB, free: 49.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.637e-05/0.2169, allocations: 79.95 kB / 389.5 MB, free: 49.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.2169, allocations: 7.562 kB / 389.5 MB, free: 49.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.133e-05/0.2169, allocations: 0.75 kB / 389.5 MB, free: 49.17 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/0.2169, allocations: 5.656 kB / 389.5 MB, free: 49.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.2169, allocations: 1.25 kB / 389.5 MB, free: 49.17 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.65e-05/0.217, allocations: 77.19 kB / 389.6 MB, free: 49.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.217, allocations: 0 / 389.6 MB, free: 49.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001988/0.2172, allocations: 8.531 kB / 389.6 MB, free: 49.09 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (z) * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0001841/0.2174, allocations: 118.3 kB / 389.7 MB, free: 48.99 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.733e-05/0.2175, allocations: 20.12 kB / 389.8 MB, free: 48.99 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2175, allocations: 1.156 kB / 389.8 MB, free: 48.99 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.359e-05/0.2175, allocations: 14.72 kB / 389.8 MB, free: 48.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.2176, allocations: 1.5 kB / 389.8 MB, free: 48.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000197/0.2178, allocations: 107 kB / 389.9 MB, free: 48.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.309e-05/0.2179, allocations: 0.6791 MB / 390.6 MB, free: 48.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.627e-05/0.218, allocations: 6.672 kB / 390.6 MB, free: 48.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.166e-05/0.218, allocations: 10.66 kB / 390.6 MB, free: 48.17 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.218, allocations: 0 / 390.6 MB, free: 48.17 MB / 318.1 MB Notification: Performance of Templates: time 0.002356/0.2204, allocations: 464.6 kB / 391 MB, free: 48.12 MB / 318.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.makefile (rm -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe >> ../files/ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.sim & ./ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe 2>&1)