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 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.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 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 178 kB / 16.12 MB, free: 5.547 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.03935/0.03935, allocations: 8.771 MB / 25.64 MB, free: 3.383 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.62/1.62, allocations: 205.4 MB / 233.9 MB, free: 12.39 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.001016/0.001016, allocations: 90.28 kB / 284.4 MB, free: 14.31 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004466/0.0004466, allocations: 20 kB / 344.8 MB, free: 1.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2792, allocations: 49.71 MB / 394.5 MB, free: 36.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09562/0.3749, allocations: 75.65 MB / 470.2 MB, free: 8.992 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.3752, allocations: 59.97 kB / 470.2 MB, free: 8.934 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0009459/0.3761, allocations: 456.8 kB / 470.7 MB, free: 8.484 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.3762, allocations: 7.938 kB / 470.7 MB, free: 8.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.3762, allocations: 0 / 470.7 MB, free: 8.477 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.0002952/0.3765, allocations: 313.7 kB / 471 MB, free: 8.121 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3765, allocations: 8.031 kB / 471 MB, free: 8.113 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.3766, allocations: 4.844 kB / 471 MB, free: 8.109 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.3767, allocations: 168.4 kB / 471.1 MB, free: 7.906 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.3768, allocations: 384 / 471.1 MB, free: 7.906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.3768, allocations: 384 / 471.1 MB, free: 7.906 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.423e-05/0.3769, allocations: 47.98 kB / 471.2 MB, free: 7.848 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3769, allocations: 4.125 kB / 471.2 MB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3769, allocations: 3.938 kB / 471.2 MB, free: 7.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3769, allocations: 0 / 471.2 MB, free: 7.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.117e-05/0.3769, allocations: 4 kB / 471.2 MB, free: 7.836 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.3773, allocations: 471 kB / 471.7 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.246e-05/0.3774, allocations: 181.1 kB / 471.8 MB, free: 7.137 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.377e-05/0.3775, allocations: 80.14 kB / 471.9 MB, free: 7.055 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.542e-05/0.3775, allocations: 75.28 kB / 472 MB, free: 6.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.342e-05/0.3776, allocations: 105.8 kB / 472.1 MB, free: 6.867 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3776, allocations: 0 / 472.1 MB, free: 6.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 7.545e-05/0.3777, allocations: 33.7 kB / 472.1 MB, free: 6.828 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.3778, allocations: 134.6 kB / 472.3 MB, free: 6.684 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.3779, allocations: 105.8 kB / 472.4 MB, free: 6.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.3779, allocations: 25.7 kB / 472.4 MB, free: 6.539 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.378, allocations: 95.97 kB / 472.5 MB, free: 6.441 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.378, allocations: 0 / 472.5 MB, free: 6.441 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-06/0.378, allocations: 0 / 472.5 MB, free: 6.441 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3781, allocations: 310.8 kB / 472.8 MB, free: 6.129 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-06/0.3782, allocations: 8 kB / 472.8 MB, free: 6.121 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.44e-05/0.3782, allocations: 17.7 kB / 472.8 MB, free: 6.098 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.492e-05/0.3782, allocations: 13.72 kB / 472.8 MB, free: 6.078 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.3782, allocations: 7.875 kB / 472.8 MB, free: 6.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.797e-05/0.3783, allocations: 45.62 kB / 472.9 MB, free: 6.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3784, allocations: 12.12 kB / 472.9 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3784, allocations: 0 / 472.9 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3784, allocations: 0 / 472.9 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.877e-05/0.3784, allocations: 7.984 kB / 472.9 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3785, allocations: 0 / 472.9 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.3785, allocations: 3.906 kB / 472.9 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.3785, allocations: 0 / 472.9 MB, free: 5.996 MB / 346.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 () * Number of clocked 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 0.000122/0.3786, allocations: 201 kB / 473.1 MB, free: 5.789 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.586e-05/0.3787, allocations: 101 kB / 473.2 MB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.949e-05/0.3788, allocations: 115.9 kB / 473.3 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-05/0.3789, allocations: 188.1 kB / 473.5 MB, free: 5.367 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.464e-05/0.3789, allocations: 176.3 kB / 473.7 MB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.597e-05/0.379, allocations: 180.2 kB / 473.8 MB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.3793, allocations: 409.2 kB / 474.2 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.413e-05/0.3793, allocations: 105 kB / 474.3 MB, free: 4.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/0.3794, allocations: 108.9 kB / 474.5 MB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.258e-05/0.3795, allocations: 180.6 kB / 474.6 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.55e-05/0.3795, allocations: 184.2 kB / 474.8 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.153e-05/0.3796, allocations: 180.2 kB / 475 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.768e-05/0.3797, allocations: 180.3 kB / 475.2 MB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.3798, allocations: 311.7 kB / 475.5 MB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.38, allocations: 187.5 kB / 475.6 MB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.65e-05/0.3801, allocations: 176.3 kB / 475.8 MB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.159e-05/0.3802, allocations: 101 kB / 475.9 MB, free: 2.766 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.3803, allocations: 188.2 kB / 476.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.062e-05/0.3803, allocations: 101 kB / 476.2 MB, free: 2.469 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.37e-05/0.3804, allocations: 87.52 kB / 476.3 MB, free: 2.383 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3804, allocations: 0 / 476.3 MB, free: 2.383 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000225/0.3806, allocations: 4 kB / 476.3 MB, free: 2.379 MB / 346.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 () * Number of clocked 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 0.0001211/0.3807, allocations: 166.5 kB / 476.5 MB, free: 2.207 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.458e-05/0.3808, allocations: 11.94 kB / 476.5 MB, free: 2.195 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3808, allocations: 4 kB / 476.5 MB, free: 2.191 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.3808, allocations: 0 / 476.5 MB, free: 2.191 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.3812, allocations: 0.5185 MB / 477 MB, free: 1.668 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.3815, allocations: 190 kB / 477.2 MB, free: 1.453 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.3818, allocations: 0.6808 MB / 477.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.956e-05/0.3818, allocations: 0 / 477.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.3818, allocations: 11.44 kB / 477.9 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3818, allocations: 0 / 477.9 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of Templates: time 0.001992/0.3838, allocations: 188.6 kB / 478 MB, free: 0.5508 MB / 346.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)