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.0009645/0.0009648, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.363/1.363, allocations: 223.3 MB / 239.4 MB, free: 5.488 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.001537/0.001537, allocations: 192.4 kB / 290.6 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03194/0.03194, allocations: 8.796 MB / 350.5 MB, free: 4.586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003809, allocations: 11.41 kB / 413.8 MB, free: 42.69 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09923/0.09962, allocations: 52.56 MB / 466.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.001169/0.1008, allocations: 0.9354 MB / 467.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001702/0.101, allocations: 47.84 kB / 467.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.665e-05/0.1011, allocations: 0 / 467.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.588e-05/0.1011, allocations: 7.938 kB / 467.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.1012, allocations: 4 kB / 467.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.353e-05/0.1013, allocations: 3.984 kB / 467.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.528e-05/0.1013, allocations: 19.88 kB / 467.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.439e-05/0.1014, allocations: 4 kB / 467.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.095e-05/0.1014, allocations: 7.984 kB / 467.4 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.445e-05/0.1014, allocations: 7.984 kB / 467.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.1015, allocations: 0 / 467.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-06/0.1015, allocations: 7.938 kB / 467.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.1015, allocations: 0 / 467.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.1015, allocations: 25.7 kB / 467.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.128e-05/0.1016, allocations: 15.92 kB / 467.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1016, allocations: 0 / 467.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1016, allocations: 0 / 467.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.996e-06/0.1016, allocations: 4 kB / 467.5 MB, free: 12.01 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.0003047/0.1019, allocations: 327.7 kB / 467.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.102, allocations: 8.031 kB / 467.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/0.102, allocations: 0.9375 kB / 467.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.1021, allocations: 168.3 kB / 468 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1022, allocations: 384 / 468 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.1022, allocations: 4.375 kB / 468 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.493e-05/0.1023, allocations: 47.97 kB / 468 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.1023, allocations: 4.188 kB / 468 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.1023, allocations: 3.938 kB / 468 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1023, allocations: 0 / 468 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.601e-05/0.1023, allocations: 3.938 kB / 468 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.1026, allocations: 174.5 kB / 468.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.472e-05/0.1027, allocations: 37.19 kB / 468.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.354e-05/0.1027, allocations: 17.83 kB / 468.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.1027, allocations: 0 / 468.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.1027, allocations: 38.5 kB / 468.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 2.064e-06/0.1027, allocations: 0 / 468.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001151/0.1029, allocations: 57.36 kB / 468.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.1029, allocations: 85.34 kB / 468.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.632e-05/0.103, allocations: 97.86 kB / 468.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.103, allocations: 25.7 kB / 468.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/0.103, allocations: 88.14 kB / 468.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.1031, allocations: 7.891 kB / 468.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.1031, allocations: 9.719 kB / 468.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1032, allocations: 318.8 kB / 469 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.153e-05/0.1032, allocations: 0 / 469 MB, free: 10.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.783e-05/0.1033, allocations: 39.61 kB / 469 MB, free: 10.22 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.413e-05/0.1033, allocations: 35.38 kB / 469 MB, free: 10.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1033, allocations: 0 / 469 MB, free: 10.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.025e-05/0.1034, allocations: 61.62 kB / 469.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1034, allocations: 8 kB / 469.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1034, allocations: 7.875 kB / 469.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.1034, allocations: 96 / 469.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.081e-05/0.1035, allocations: 8 kB / 469.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1035, allocations: 0 / 469.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/0.1035, allocations: 7.984 kB / 469.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.1036, allocations: 0 / 469.1 MB, free: 10.08 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 6.286e-05/0.1036, allocations: 113.9 kB / 469.2 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.1036, allocations: 11.91 kB / 469.2 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.827e-05/0.1037, allocations: 11.05 kB / 469.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1037, allocations: 0 / 469.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1037, allocations: 4 kB / 469.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1037, allocations: 0 / 469.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.1038, allocations: 161.7 kB / 469.4 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1038, allocations: 0 / 469.4 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.282e-05/0.1039, allocations: 4 kB / 469.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1039, allocations: 0 / 469.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1039, allocations: 3.938 kB / 469.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1039, allocations: 7.938 kB / 469.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.1039, allocations: 7.984 kB / 469.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.962e-05/0.104, allocations: 66 kB / 469.5 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.1041, allocations: 85.03 kB / 469.6 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.1041, allocations: 7.938 kB / 469.6 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.22e-05/0.1041, allocations: 7.969 kB / 469.6 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.047e-05/0.1041, allocations: 4.094 kB / 469.6 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.1041, allocations: 0 / 469.6 MB, free: 9.492 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.469e-05/0.1042, allocations: 79.28 kB / 469.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1042, allocations: 0 / 469.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001758/0.1044, allocations: 8 kB / 469.7 MB, free: 9.406 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 7.981e-05/0.1044, allocations: 107 kB / 469.8 MB, free: 9.289 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.116e-05/0.1045, allocations: 12.19 kB / 469.8 MB, free: 9.277 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1045, allocations: 4.062 kB / 469.8 MB, free: 9.273 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.307e-05/0.1045, allocations: 11.94 kB / 469.8 MB, free: 9.262 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.1047, allocations: 0 / 469.8 MB, free: 9.262 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.105, allocations: 149.6 kB / 470 MB, free: 9.086 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.1052, allocations: 0.6809 MB / 470.7 MB, free: 8.379 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.739e-05/0.1053, allocations: 4.125 kB / 470.7 MB, free: 8.375 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.81e-05/0.1053, allocations: 7.438 kB / 470.7 MB, free: 8.367 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1053, allocations: 0 / 470.7 MB, free: 8.367 MB / 302.1 MB Notification: Performance of Templates: time 0.001938/0.1072, allocations: 269.1 kB / 470.9 MB, free: 8.105 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Classes.TestVector2D.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: