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.001238/0.001238, allocations: 110.4 kB / 15.99 MB, free: 5.891 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.372/1.372, allocations: 222.9 MB / 239.6 MB, free: 4.777 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.001368/0.001368, allocations: 200.4 kB / 289.9 MB, free: 2.504 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03485/0.03485, allocations: 8.795 MB / 348.9 MB, free: 4.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 76.45 kB / 411.2 MB, free: 42.38 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09692/0.09845, allocations: 51.57 MB / 462.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.003109/0.1016, allocations: 1.251 MB / 464.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002442/0.1019, allocations: 59.77 kB / 464.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.318e-05/0.1019, allocations: 4 kB / 464.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.1021, allocations: 4 kB / 464.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.1022, allocations: 7.938 kB / 464.1 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.762e-05/0.1023, allocations: 4 kB / 464.1 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.693e-05/0.1024, allocations: 15.92 kB / 464.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.1024, allocations: 0 / 464.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.1025, allocations: 11.94 kB / 464.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.432e-05/0.1025, allocations: 3.984 kB / 464.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.1025, allocations: 4 kB / 464.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/0.1026, allocations: 0 / 464.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.1026, allocations: 11.92 kB / 464.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.1026, allocations: 8 kB / 464.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.378e-05/0.1027, allocations: 0 / 464.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.1027, allocations: 0 / 464.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1027, allocations: 4 kB / 464.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1027, allocations: 0 / 464.2 MB, free: 13.43 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.0004653/0.1032, allocations: 325.7 kB / 464.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.1033, allocations: 16.02 kB / 464.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.1033, allocations: 4.875 kB / 464.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.1035, allocations: 168.6 kB / 464.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1036, allocations: 8.312 kB / 464.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.1036, allocations: 384 / 464.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.1037, allocations: 47.97 kB / 464.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.1037, allocations: 192 / 464.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1038, allocations: 3.938 kB / 464.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.1038, allocations: 0 / 464.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.571e-05/0.1038, allocations: 4 kB / 464.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.1042, allocations: 174.4 kB / 464.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.648e-05/0.1043, allocations: 41.22 kB / 465 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.834e-05/0.1044, allocations: 17.66 kB / 465 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.1044, allocations: 0 / 465 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.1044, allocations: 46.55 kB / 465 MB, free: 12.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.1044, allocations: 0 / 465 MB, free: 12.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001879/0.1046, allocations: 45.58 kB / 465.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.1048, allocations: 81.11 kB / 465.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.1049, allocations: 105.8 kB / 465.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.105, allocations: 25.7 kB / 465.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.1051, allocations: 80.14 kB / 465.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.1051, allocations: 7.906 kB / 465.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.1052, allocations: 21.95 kB / 465.4 MB, free: 12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1053, allocations: 314.8 kB / 465.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.293e-05/0.1054, allocations: 8 kB / 465.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.15e-05/0.1055, allocations: 27.44 kB / 465.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.924e-05/0.1056, allocations: 43.36 kB / 465.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1056, allocations: 0 / 465.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001637/0.1058, allocations: 57.64 kB / 465.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.1058, allocations: 7.984 kB / 465.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.1058, allocations: 3.938 kB / 465.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.1059, allocations: 0 / 465.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.382e-05/0.1059, allocations: 11.94 kB / 465.9 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.106, allocations: 4.125 kB / 465.9 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.652e-05/0.106, allocations: 4 kB / 465.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1061, allocations: 0 / 465.9 MB, free: 11.48 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 0.0001179/0.1062, allocations: 113.8 kB / 466 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.1062, allocations: 7.844 kB / 466 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.1063, allocations: 11.06 kB / 466 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.1063, allocations: 7.984 kB / 466 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1063, allocations: 0 / 466 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1063, allocations: 0 / 466 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.1066, allocations: 165.7 kB / 466.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1067, allocations: 0 / 466.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.094e-05/0.1067, allocations: 4 kB / 466.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1068, allocations: 0 / 466.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.1068, allocations: 3.938 kB / 466.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.1068, allocations: 4 kB / 466.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1068, allocations: 3.938 kB / 466.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.107, allocations: 73.98 kB / 466.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.1071, allocations: 81.09 kB / 466.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.1071, allocations: 7.969 kB / 466.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.263e-05/0.1072, allocations: 4 kB / 466.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.61e-05/0.1072, allocations: 0 / 466.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.1072, allocations: 3.938 kB / 466.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.424e-05/0.1073, allocations: 79.28 kB / 466.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1073, allocations: 0 / 466.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003449/0.1077, allocations: 4 kB / 466.4 MB, free: 10.82 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 0.0001322/0.1078, allocations: 107.3 kB / 466.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.108, allocations: 11.94 kB / 466.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.108, allocations: 0 / 466.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.057e-05/0.108, allocations: 11.94 kB / 466.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.1083, allocations: 4 kB / 466.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.1087, allocations: 173.6 kB / 466.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.1093, allocations: 0.6768 MB / 467.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.1093, allocations: 7.438 kB / 467.4 MB, free: 9.762 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1093, allocations: 0 / 467.4 MB, free: 9.762 MB / 302.1 MB Notification: Performance of Templates: time 0.00295/0.1123, allocations: 0.5278 MB / 467.9 MB, free: 9.234 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)