Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.TestVector2D.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/Modelica 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/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Classes.TestVector2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.TestVector2D") translateModel(HanserModelica.Classes.TestVector2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.TestVector2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 100.4 kB / 16.27 MB, free: 5.969 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.449/1.449, allocations: 222.9 MB / 239.9 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 188.4 kB / 290.2 MB, free: 2.363 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03456/0.03456, allocations: 8.807 MB / 349.2 MB, free: 4.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 76.08 kB / 411.7 MB, free: 42.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09894/0.1008, allocations: 51.57 MB / 463.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002858/0.1037, allocations: 1.202 MB / 464.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002324/0.1039, allocations: 55.8 kB / 464.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.104, allocations: 0 / 464.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.1041, allocations: 8 kB / 464.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.1043, allocations: 15.91 kB / 464.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.503e-05/0.1043, allocations: 0 / 464.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.652e-05/0.1044, allocations: 11.94 kB / 464.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.821e-05/0.1045, allocations: 4 kB / 464.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.038e-05/0.1045, allocations: 11.92 kB / 464.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.251e-05/0.1046, allocations: 4 kB / 464.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.1046, allocations: 0 / 464.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-06/0.1046, allocations: 4 kB / 464.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.1046, allocations: 7.922 kB / 464.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.1046, allocations: 4 kB / 464.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.704e-05/0.1047, allocations: 15.92 kB / 464.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1047, allocations: 0 / 464.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1047, allocations: 4 kB / 464.7 MB, free: 13.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1047, allocations: 0 / 464.7 MB, free: 13.03 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000388/0.1051, allocations: 319.5 kB / 465 MB, free: 12.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1052, allocations: 12.03 kB / 465 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.1052, allocations: 0.9375 kB / 465 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.1054, allocations: 176.5 kB / 465.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1054, allocations: 4.375 kB / 465.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.1054, allocations: 4.359 kB / 465.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.079e-05/0.1055, allocations: 39.98 kB / 465.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1055, allocations: 192 / 465.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1056, allocations: 7.938 kB / 465.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.1056, allocations: 0 / 465.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.074e-05/0.1056, allocations: 7.938 kB / 465.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.1059, allocations: 170.5 kB / 465.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.976e-05/0.106, allocations: 37.2 kB / 465.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.246e-05/0.106, allocations: 13.72 kB / 465.4 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.106, allocations: 3.938 kB / 465.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.1061, allocations: 34.62 kB / 465.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 3.467e-06/0.1061, allocations: 7.984 kB / 465.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.00015/0.1062, allocations: 45.56 kB / 465.5 MB, free: 11.97 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.1063, allocations: 85.11 kB / 465.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.594e-05/0.1064, allocations: 93.86 kB / 465.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.1064, allocations: 33.64 kB / 465.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.1064, allocations: 84.12 kB / 465.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.1065, allocations: 7.906 kB / 465.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.1065, allocations: 21.91 kB / 465.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.441e-05/0.1066, allocations: 314.8 kB / 466.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.1066, allocations: 11.98 kB / 466.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.527e-05/0.1067, allocations: 23.44 kB / 466.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.304e-05/0.1067, allocations: 43.38 kB / 466.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1067, allocations: 0 / 466.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.491e-05/0.1068, allocations: 61.56 kB / 466.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1068, allocations: 4 kB / 466.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.1068, allocations: 3.938 kB / 466.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1069, allocations: 0 / 466.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.773e-05/0.1069, allocations: 8 kB / 466.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1069, allocations: 128 / 466.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.468e-05/0.107, allocations: 16 kB / 466.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.107, allocations: 0 / 466.3 MB, free: 11.09 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 7.106e-05/0.107, allocations: 121.8 kB / 466.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.1071, allocations: 3.906 kB / 466.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.033e-05/0.1071, allocations: 11.06 kB / 466.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1071, allocations: 4 kB / 466.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1071, allocations: 0 / 466.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1071, allocations: 0 / 466.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.1073, allocations: 157.7 kB / 466.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1073, allocations: 4 kB / 466.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.1073, allocations: 11.92 kB / 466.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1073, allocations: 0 / 466.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1073, allocations: 7.938 kB / 466.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1074, allocations: 0 / 466.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1074, allocations: 4 kB / 466.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.1075, allocations: 73.98 kB / 466.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.1075, allocations: 77.11 kB / 466.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.1075, allocations: 7.969 kB / 466.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.429e-05/0.1076, allocations: 0 / 466.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.1076, allocations: 0 / 466.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.1076, allocations: 0 / 466.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.303e-05/0.1077, allocations: 91.2 kB / 466.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.194e-06/0.1077, allocations: 0 / 466.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001848/0.1079, allocations: 7.938 kB / 466.9 MB, free: 10.42 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (v.y,v.x) * 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 (2): * Single equations (assignments): 2 * 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 9.27e-05/0.108, allocations: 99.34 kB / 467 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.776e-05/0.108, allocations: 12 kB / 467 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.894e-06/0.1081, allocations: 0 / 467 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.372e-05/0.1081, allocations: 11.92 kB / 467 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.1082, allocations: 8 kB / 467 MB, free: 10.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.1086, allocations: 177.6 kB / 467.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.1088, allocations: 0.6768 MB / 467.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.1089, allocations: 7.438 kB / 467.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1089, allocations: 0 / 467.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of Templates: time 0.002067/0.1109, allocations: 0.5122 MB / 468.4 MB, free: 8.848 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Classes.TestVector2D.makefile (rm -f HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; mkfifo HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.TestVector2D.pipe >> ../files/HanserModelica_HanserModelica.Classes.TestVector2D.sim & ./HanserModelica_HanserModelica.Classes.TestVector2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1)