Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.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.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") translateModel(HanserModelica.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 172 kB / 16.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.04157/0.04157, allocations: 8.766 MB / 25.64 MB, free: 3.75 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.599/1.599, 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.000987/0.0009876, allocations: 101.8 kB / 284.4 MB, free: 14.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004389/0.000439, allocations: 12 kB / 344.8 MB, free: 1.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.218, allocations: 49.7 MB / 394.5 MB, free: 36.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09159/0.3096, allocations: 77.07 MB / 471.6 MB, free: 7.586 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.31, allocations: 67.97 kB / 471.6 MB, free: 7.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007166/0.3171, allocations: 3.083 MB / 474.7 MB, free: 4.402 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3172, allocations: 4 kB / 474.7 MB, free: 4.398 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.3172, allocations: 0 / 474.7 MB, free: 4.398 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000535/0.3177, allocations: 384.7 kB / 475.1 MB, free: 3.973 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3178, allocations: 12.03 kB / 475.1 MB, free: 3.961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.511e-05/0.3178, allocations: 4.938 kB / 475.1 MB, free: 3.957 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.3179, allocations: 168.3 kB / 475.3 MB, free: 3.754 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.3179, allocations: 4.312 kB / 475.3 MB, free: 3.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.3179, allocations: 4.375 kB / 475.3 MB, free: 3.746 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.3181, allocations: 58.17 kB / 475.3 MB, free: 3.684 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3181, allocations: 4.188 kB / 475.3 MB, free: 3.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3181, allocations: 3.938 kB / 475.3 MB, free: 3.676 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.3181, allocations: 0 / 475.3 MB, free: 3.676 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.409e-05/0.3182, allocations: 31.98 kB / 475.4 MB, free: 3.645 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.3184, allocations: 193.6 kB / 475.6 MB, free: 3.406 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.3185, allocations: 66.56 kB / 475.6 MB, free: 3.332 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.774e-05/0.3186, allocations: 24.98 kB / 475.7 MB, free: 3.305 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.3186, allocations: 3.938 kB / 475.7 MB, free: 3.301 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.3186, allocations: 30.56 kB / 475.7 MB, free: 3.262 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3186, allocations: 0 / 475.7 MB, free: 3.262 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002133/0.3189, allocations: 109.5 kB / 475.8 MB, free: 3.148 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.3189, allocations: 55.41 kB / 475.8 MB, free: 3.082 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.918e-05/0.319, allocations: 106.1 kB / 476 MB, free: 2.969 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.319, allocations: 25.7 kB / 476 MB, free: 2.938 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.3191, allocations: 84.14 kB / 476.1 MB, free: 2.852 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.3191, allocations: 15.81 kB / 476.1 MB, free: 2.836 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.3191, allocations: 0 / 476.1 MB, free: 2.836 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3192, allocations: 314.8 kB / 476.4 MB, free: 2.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.663e-05/0.3192, allocations: 16 kB / 476.4 MB, free: 2.504 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.498e-05/0.3193, allocations: 24.19 kB / 476.4 MB, free: 2.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.223e-05/0.3194, allocations: 56.97 kB / 476.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3194, allocations: 0 / 476.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001193/0.3195, allocations: 81.59 kB / 476.6 MB, free: 2.336 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.3195, allocations: 8 kB / 476.6 MB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3195, allocations: 3.938 kB / 476.6 MB, free: 2.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3196, allocations: 0 / 476.6 MB, free: 2.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.993e-05/0.3197, allocations: 8 kB / 476.6 MB, free: 2.316 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3197, allocations: 0 / 476.6 MB, free: 2.316 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/0.3197, allocations: 7.875 kB / 476.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.3197, allocations: 4 kB / 476.6 MB, free: 2.305 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 7.687e-05/0.3198, allocations: 125.8 kB / 476.7 MB, free: 2.172 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.3198, allocations: 4 kB / 476.7 MB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.32, allocations: 105.9 kB / 476.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.32, allocations: 0 / 476.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3201, allocations: 0 / 476.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3201, allocations: 0 / 476.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.3202, allocations: 189.5 kB / 477 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3202, allocations: 0 / 477 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.2e-05/0.3203, allocations: 15.92 kB / 477 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3203, allocations: 4 kB / 477 MB, free: 1.809 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.3203, allocations: 11.92 kB / 477 MB, free: 1.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3203, allocations: 80 / 477 MB, free: 1.797 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3203, allocations: 3.984 kB / 477 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.3205, allocations: 109.1 kB / 477.1 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.3205, allocations: 85 kB / 477.2 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.3206, allocations: 3.938 kB / 477.2 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.767e-05/0.3206, allocations: 8 kB / 477.2 MB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.761e-05/0.3206, allocations: 4 kB / 477.2 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.3206, allocations: 4 kB / 477.2 MB, free: 1.547 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.572e-05/0.3207, allocations: 91.33 kB / 477.3 MB, free: 1.457 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3207, allocations: 0 / 477.3 MB, free: 1.457 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001878/0.3209, allocations: 12 kB / 477.3 MB, free: 1.445 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 (8): * Single equations (assignments): 8 * 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.0001223/0.321, allocations: 115.2 kB / 477.5 MB, free: 1.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.3212, allocations: 47.98 kB / 477.5 MB, free: 1.273 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3212, allocations: 0 / 477.5 MB, free: 1.273 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.755e-05/0.3212, allocations: 35.92 kB / 477.5 MB, free: 1.238 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.3214, allocations: 8.875 kB / 477.6 MB, free: 1.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.3217, allocations: 198.4 kB / 477.7 MB, free: 1.008 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.3219, allocations: 0.6848 MB / 478.4 MB, free: 304 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.337e-05/0.3219, allocations: 4 kB / 478.4 MB, free: 300 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/0.322, allocations: 7.438 kB / 478.4 MB, free: 292 kB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.322, allocations: 0 / 478.4 MB, free: 292 kB / 346.7 MB Notification: Performance of Templates: time 0.00239/0.3244, allocations: 0.7339 MB / 479.2 MB, free: 15.55 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.sim & ./HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe 2>&1)