Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.MixedDeclaration.conf.json 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) Running command: translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009719/0.0009719, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03884/0.03884, allocations: 8.7 MB / 21.96 MB, free: 3.367 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 221.4 MB / 246 MB, free: 3.551 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009182/0.000918, allocations: 97.58 kB / 299.1 MB, free: 2.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.76e-05/3.762e-05, allocations: 4 kB / 359.5 MB, free: 6.512 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2365, allocations: 52.53 MB / 412 MB, free: 22.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0913/0.3279, allocations: 76.5 MB / 488.5 MB, free: 9.945 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001854/0.3281, allocations: 67.95 kB / 488.6 MB, free: 9.879 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0007405/0.3289, allocations: 451.4 kB / 489 MB, free: 9.438 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3289, allocations: 0 / 489 MB, free: 9.438 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.3289, allocations: 0 / 489 MB, free: 9.438 MB / 362.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.0001852/0.3291, allocations: 314.6 kB / 489.4 MB, free: 9.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.3291, allocations: 12.03 kB / 489.4 MB, free: 9.078 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.367e-05/0.3292, allocations: 3.953 kB / 489.4 MB, free: 9.074 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.3293, allocations: 167.1 kB / 489.5 MB, free: 8.871 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.3293, allocations: 0 / 489.5 MB, free: 8.871 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.3293, allocations: 0 / 489.5 MB, free: 8.871 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.315e-05/0.3294, allocations: 42.7 kB / 489.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.3294, allocations: 0 / 489.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.3294, allocations: 0 / 489.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.3294, allocations: 4 kB / 489.6 MB, free: 8.816 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.888e-05/0.3294, allocations: 23.81 kB / 489.6 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.3297, allocations: 463.6 kB / 490.1 MB, free: 8.285 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.077e-05/0.3298, allocations: 177.1 kB / 490.2 MB, free: 8.102 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.573e-05/0.3298, allocations: 84.14 kB / 490.3 MB, free: 8.016 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.3299, allocations: 75.28 kB / 490.4 MB, free: 7.941 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.3299, allocations: 105.8 kB / 490.5 MB, free: 7.828 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3299, allocations: 3.828 kB / 490.5 MB, free: 7.828 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.935e-05/0.33, allocations: 33.66 kB / 490.5 MB, free: 7.789 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.33, allocations: 126.7 kB / 490.6 MB, free: 7.652 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.959e-05/0.3301, allocations: 105 kB / 490.8 MB, free: 7.543 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.3301, allocations: 29.64 kB / 490.8 MB, free: 7.508 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.3302, allocations: 91.98 kB / 490.9 MB, free: 7.414 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-06/0.3302, allocations: 0 / 490.9 MB, free: 7.414 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-06/0.3302, allocations: 0 / 490.9 MB, free: 7.414 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.601e-05/0.3303, allocations: 314.8 kB / 491.2 MB, free: 7.098 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.492e-06/0.3303, allocations: 0 / 491.2 MB, free: 7.098 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.081e-05/0.3303, allocations: 13.72 kB / 491.2 MB, free: 7.078 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.655e-05/0.3303, allocations: 12.05 kB / 491.2 MB, free: 7.066 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3303, allocations: 0 / 491.2 MB, free: 7.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.496e-05/0.3304, allocations: 41.64 kB / 491.2 MB, free: 7.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.3304, allocations: 4 kB / 491.2 MB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3304, allocations: 4 kB / 491.3 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.3305, allocations: 3.953 kB / 491.3 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.735e-05/0.3305, allocations: 4 kB / 491.3 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3305, allocations: 0 / 491.3 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.834e-05/0.3305, allocations: 4.062 kB / 491.3 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-06/0.3305, allocations: 0 / 491.3 MB, free: 7 MB / 362.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.668e-05/0.3306, allocations: 184.2 kB / 491.4 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.395e-05/0.3307, allocations: 105 kB / 491.5 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.143e-05/0.3307, allocations: 112 kB / 491.7 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.824e-05/0.3308, allocations: 180.3 kB / 491.8 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.234e-05/0.3308, allocations: 188.2 kB / 492 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.953e-05/0.3309, allocations: 180.2 kB / 492.2 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.3311, allocations: 405.2 kB / 492.6 MB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.901e-05/0.3311, allocations: 105 kB / 492.7 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.869e-05/0.3312, allocations: 101 kB / 492.8 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.423e-05/0.3312, allocations: 184.5 kB / 493 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/0.3313, allocations: 184.3 kB / 493.1 MB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-05/0.3313, allocations: 184.2 kB / 493.3 MB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.774e-05/0.3314, allocations: 176.3 kB / 493.5 MB, free: 4.617 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.3315, allocations: 315.5 kB / 493.8 MB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.379e-05/0.3316, allocations: 190.1 kB / 494 MB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/0.3317, allocations: 184.1 kB / 494.2 MB, free: 3.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.393e-05/0.3317, allocations: 105 kB / 494.3 MB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.3318, allocations: 176.3 kB / 494.4 MB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.3318, allocations: 108.9 kB / 494.6 MB, free: 3.484 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.217e-05/0.3319, allocations: 91.48 kB / 494.6 MB, free: 3.395 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3319, allocations: 4 kB / 494.6 MB, free: 3.391 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002091/0.3321, allocations: 0 / 494.6 MB, free: 3.391 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 9.586e-05/0.3322, allocations: 170.5 kB / 494.8 MB, free: 3.215 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.098e-05/0.3323, allocations: 4.906 kB / 494.8 MB, free: 3.211 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3323, allocations: 0 / 494.8 MB, free: 3.211 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.487e-06/0.3323, allocations: 3.938 kB / 494.8 MB, free: 3.207 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.3325, allocations: 0.5264 MB / 495.3 MB, free: 2.676 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001426/0.3327, allocations: 120.3 kB / 495.5 MB, free: 2.535 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.3329, allocations: 0.677 MB / 496.1 MB, free: 1.832 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.685e-05/0.3329, allocations: 0 / 496.1 MB, free: 1.832 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.632e-05/0.3329, allocations: 11.44 kB / 496.2 MB, free: 1.82 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.333, allocations: 0 / 496.2 MB, free: 1.82 MB / 362.7 MB Notification: Performance of Templates: time 0.001494/0.3345, allocations: 190.7 kB / 496.3 MB, free: 1.637 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.Classes.MixedDeclaration.makefile (rm -f HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; mkfifo HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe >> ../files/HanserModelica_HanserModelica.Classes.MixedDeclaration.sim & ./HanserModelica_HanserModelica.Classes.MixedDeclaration -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1)