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.001288/0.001288, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.71/1.71, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04001/0.04001, allocations: 8.118 MB / 277.9 MB, free: 13.15 MB / 238.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.001573/0.001573, allocations: 71.89 kB / 337.2 MB, free: 26.55 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1019, allocations: 48.3 MB / 385.5 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.002261/0.1043, allocations: 415.2 kB / 385.9 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 9.57e-05/0.1044, allocations: 35.81 kB / 385.9 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.536e-05/0.1044, allocations: 4 kB / 385.9 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.1046, allocations: 0 / 385.9 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.466e-05/0.1047, allocations: 27.97 kB / 386 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.078e-05/0.1048, allocations: 15.86 kB / 386 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.754e-05/0.1048, allocations: 15.98 kB / 386 MB, free: 9.699 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.404e-05/0.1049, allocations: 0 / 386 MB, free: 9.699 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.284e-05/0.1049, allocations: 23.91 kB / 386 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.86e-05/0.105, allocations: 27.97 kB / 386 MB, free: 9.648 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.105, allocations: 0 / 386 MB, free: 9.648 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.266e-05/0.1051, allocations: 4 kB / 386 MB, free: 9.645 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.1051, allocations: 0 / 386 MB, free: 9.645 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.868e-05/0.1051, allocations: 19.92 kB / 386.1 MB, free: 9.625 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.218e-05/0.1052, allocations: 7.984 kB / 386.1 MB, free: 9.617 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1052, allocations: 4 kB / 386.1 MB, free: 9.613 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1052, allocations: 0 / 386.1 MB, free: 9.613 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.1053, allocations: 0 / 386.1 MB, free: 9.613 MB / 286.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.0003947/0.1056, allocations: 319.6 kB / 386.4 MB, free: 9.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1057, allocations: 11.89 kB / 386.4 MB, free: 9.238 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.449e-05/0.1057, allocations: 4.938 kB / 386.4 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.1059, allocations: 168.3 kB / 386.6 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1059, allocations: 384 / 386.6 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.106, allocations: 8.312 kB / 386.6 MB, free: 9.023 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.038e-05/0.1061, allocations: 34.27 kB / 386.6 MB, free: 8.984 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.1061, allocations: 8.094 kB / 386.6 MB, free: 8.977 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1061, allocations: 3.938 kB / 386.6 MB, free: 8.973 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1061, allocations: 0 / 386.6 MB, free: 8.973 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.778e-05/0.1062, allocations: 11.97 kB / 386.6 MB, free: 8.961 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.1063, allocations: 145.7 kB / 386.8 MB, free: 8.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.1065, allocations: 42.55 kB / 386.8 MB, free: 8.719 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.527e-05/0.1065, allocations: 8.922 kB / 386.8 MB, free: 8.707 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.1066, allocations: 4 kB / 386.8 MB, free: 8.703 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.1066, allocations: 30.56 kB / 386.9 MB, free: 8.664 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1066, allocations: 0 / 386.9 MB, free: 8.664 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001356/0.1067, allocations: 49.62 kB / 386.9 MB, free: 8.609 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.1068, allocations: 55.34 kB / 387 MB, free: 8.543 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.5e-05/0.1069, allocations: 101.8 kB / 387.1 MB, free: 8.434 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.1069, allocations: 29.7 kB / 387.1 MB, free: 8.398 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.1069, allocations: 80.14 kB / 387.2 MB, free: 8.316 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.107, allocations: 8.125 kB / 387.2 MB, free: 8.309 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.107, allocations: 17.72 kB / 387.2 MB, free: 8.285 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1071, allocations: 314.8 kB / 387.5 MB, free: 7.969 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.744e-05/0.1072, allocations: 12.86 kB / 387.5 MB, free: 7.953 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.728e-05/0.1072, allocations: 21.84 kB / 387.5 MB, free: 7.926 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.817e-05/0.1073, allocations: 25.7 kB / 387.6 MB, free: 7.895 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.1073, allocations: 0 / 387.6 MB, free: 7.895 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.273e-05/0.1074, allocations: 57.48 kB / 387.6 MB, free: 7.832 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1074, allocations: 7.984 kB / 387.6 MB, free: 7.824 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1074, allocations: 3.938 kB / 387.6 MB, free: 7.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1074, allocations: 0 / 387.6 MB, free: 7.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.454e-05/0.1074, allocations: 8 kB / 387.6 MB, free: 7.812 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1075, allocations: 0 / 387.6 MB, free: 7.812 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.1075, allocations: 11.97 kB / 387.6 MB, free: 7.801 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.1075, allocations: 7.984 kB / 387.6 MB, free: 7.793 MB / 286.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 0.0001521/0.1077, allocations: 105.8 kB / 387.8 MB, free: 7.68 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.1077, allocations: 0 / 387.8 MB, free: 7.68 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.1077, allocations: 7.438 kB / 387.8 MB, free: 7.664 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.1077, allocations: 7.984 kB / 387.8 MB, free: 7.656 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1077, allocations: 3.938 kB / 387.8 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1077, allocations: 0 / 387.8 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.1079, allocations: 157.7 kB / 387.9 MB, free: 7.449 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1079, allocations: 0 / 387.9 MB, free: 7.449 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.108, allocations: 7.984 kB / 387.9 MB, free: 7.441 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.108, allocations: 0 / 387.9 MB, free: 7.441 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.108, allocations: 3.938 kB / 387.9 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.108, allocations: 0 / 387.9 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.108, allocations: 0 / 387.9 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.1081, allocations: 81.42 kB / 388 MB, free: 7.34 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.1082, allocations: 85.08 kB / 388.1 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.1082, allocations: 7.969 kB / 388.1 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.184e-05/0.1082, allocations: 0 / 388.1 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.1082, allocations: 3.984 kB / 388.1 MB, free: 7.227 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.1083, allocations: 0 / 388.1 MB, free: 7.227 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.251e-05/0.1083, allocations: 79.28 kB / 388.2 MB, free: 7.148 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1083, allocations: 0 / 388.2 MB, free: 7.148 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000203/0.1085, allocations: 8 kB / 388.2 MB, free: 7.141 MB / 286.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.0002316/0.1088, allocations: 121.4 kB / 388.3 MB, free: 7.016 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.507e-05/0.1089, allocations: 19.92 kB / 388.3 MB, free: 6.996 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1089, allocations: 3.938 kB / 388.3 MB, free: 6.992 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.47e-05/0.1089, allocations: 8 kB / 388.3 MB, free: 6.984 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.109, allocations: 0 / 388.3 MB, free: 6.984 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.1093, allocations: 109.9 kB / 388.5 MB, free: 6.852 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.1096, allocations: 0.6766 MB / 389.1 MB, free: 6.148 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.587e-05/0.1096, allocations: 4 kB / 389.1 MB, free: 6.145 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.1096, allocations: 11.44 kB / 389.1 MB, free: 6.133 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1096, allocations: 0 / 389.1 MB, free: 6.133 MB / 286.1 MB Notification: Performance of Templates: time 0.002761/0.1124, allocations: 479.2 kB / 389.6 MB, free: 5.68 MB / 286.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 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe 2>&1)