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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.000998/0.000998, allocations: 174.7 kB / 16.12 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.0382/0.0382, allocations: 8.775 MB / 25.64 MB, free: 3.758 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.4 MB / 233.9 MB, free: 12.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008426/0.0008427, allocations: 97.95 kB / 284.4 MB, free: 14.33 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004329/0.000433, allocations: 12 kB / 344.8 MB, free: 1.879 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2754, allocations: 49.72 MB / 394.5 MB, free: 36.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09814/0.3736, allocations: 75.56 MB / 470.1 MB, free: 9.094 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.3739, allocations: 63.97 kB / 470.1 MB, free: 9.031 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001566/0.3755, allocations: 0.6042 MB / 470.7 MB, free: 8.426 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.047e-06/0.3755, allocations: 4 kB / 470.7 MB, free: 8.422 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.3755, allocations: 0 / 470.7 MB, free: 8.422 MB / 346.7 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.0003409/0.3758, allocations: 323.5 kB / 471.1 MB, free: 8.055 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.3759, allocations: 19.97 kB / 471.1 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.3759, allocations: 0.9375 kB / 471.1 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.3761, allocations: 168.4 kB / 471.2 MB, free: 7.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.3761, allocations: 12.31 kB / 471.3 MB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.3762, allocations: 384 / 471.3 MB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.3763, allocations: 47.33 kB / 471.3 MB, free: 7.766 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3763, allocations: 192 / 471.3 MB, free: 7.766 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3763, allocations: 3.938 kB / 471.3 MB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.3763, allocations: 4 kB / 471.3 MB, free: 7.758 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.125e-05/0.3763, allocations: 7.984 kB / 471.3 MB, free: 7.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.3766, allocations: 166.6 kB / 471.5 MB, free: 7.535 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.95e-05/0.3767, allocations: 33.09 kB / 471.5 MB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/0.3767, allocations: 13.84 kB / 471.5 MB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.3768, allocations: 4 kB / 471.5 MB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.3768, allocations: 34.56 kB / 471.6 MB, free: 7.418 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3768, allocations: 0 / 471.6 MB, free: 7.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001504/0.3769, allocations: 49.56 kB / 471.6 MB, free: 7.363 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.377, allocations: 77.11 kB / 471.7 MB, free: 7.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.054e-05/0.3771, allocations: 105.8 kB / 471.8 MB, free: 7.156 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.3771, allocations: 25.95 kB / 471.8 MB, free: 7.125 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.3772, allocations: 88.14 kB / 471.9 MB, free: 7.035 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.3772, allocations: 7.812 kB / 471.9 MB, free: 7.027 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.3772, allocations: 0 / 471.9 MB, free: 7.027 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3773, allocations: 326.8 kB / 472.2 MB, free: 6.699 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.318e-05/0.3774, allocations: 0 / 472.2 MB, free: 6.699 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.062e-05/0.3774, allocations: 31.44 kB / 472.3 MB, free: 6.656 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.53e-05/0.3775, allocations: 39.38 kB / 472.3 MB, free: 6.605 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3775, allocations: 0 / 472.3 MB, free: 6.605 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.56e-05/0.3776, allocations: 57.62 kB / 472.4 MB, free: 6.543 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3776, allocations: 8 kB / 472.4 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.3776, allocations: 8.062 kB / 472.4 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.3776, allocations: 4 kB / 472.4 MB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.912e-05/0.3777, allocations: 8 kB / 472.4 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3777, allocations: 3.984 kB / 472.4 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.3777, allocations: 0 / 472.4 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.3777, allocations: 4 kB / 472.4 MB, free: 6.508 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.929e-05/0.3778, allocations: 121.6 kB / 472.5 MB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.3778, allocations: 8 kB / 472.5 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.3779, allocations: 11.02 kB / 472.5 MB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.3779, allocations: 4 kB / 472.5 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3779, allocations: 4 kB / 472.5 MB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.3779, allocations: 0 / 472.5 MB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.378, allocations: 157.7 kB / 472.7 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3781, allocations: 4 kB / 472.7 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.516e-05/0.3781, allocations: 4 kB / 472.7 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3781, allocations: 3.938 kB / 472.7 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.3781, allocations: 3.938 kB / 472.7 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3781, allocations: 0 / 472.7 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3781, allocations: 0 / 472.7 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.3783, allocations: 86.14 kB / 472.8 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/0.3783, allocations: 77.11 kB / 472.9 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.3783, allocations: 11.92 kB / 472.9 MB, free: 5.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.244e-05/0.3784, allocations: 0 / 472.9 MB, free: 5.918 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.3784, allocations: 7.984 kB / 472.9 MB, free: 5.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.3784, allocations: 0 / 472.9 MB, free: 5.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.641e-05/0.3784, allocations: 79.38 kB / 473 MB, free: 5.832 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3785, allocations: 4 kB / 473 MB, free: 5.828 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001876/0.3786, allocations: 8 kB / 473 MB, free: 5.82 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001347/0.3788, allocations: 107.2 kB / 473.1 MB, free: 5.707 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.982e-05/0.3789, allocations: 23.94 kB / 473.1 MB, free: 5.684 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3789, allocations: 0 / 473.1 MB, free: 5.684 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.061e-05/0.3789, allocations: 4 kB / 473.1 MB, free: 5.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.379, allocations: 0 / 473.1 MB, free: 5.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.3793, allocations: 161.5 kB / 473.3 MB, free: 5.492 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.3796, allocations: 0.6774 MB / 473.9 MB, free: 4.789 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.907e-05/0.3796, allocations: 8 kB / 473.9 MB, free: 4.781 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.362e-05/0.3797, allocations: 7.438 kB / 474 MB, free: 4.773 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3797, allocations: 0 / 474 MB, free: 4.773 MB / 346.7 MB Notification: Performance of Templates: time 0.002305/0.382, allocations: 409.7 kB / 474.4 MB, free: 4.375 MB / 346.7 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)