Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009657/0.0009657, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.135/1.135, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001497/0.001497, allocations: 107.4 kB / 256.9 MB, free: 4.379 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002808, allocations: 12 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07259/0.07289, allocations: 44.49 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2369/0.3098, allocations: 73.91 MB / 429 MB, free: 15.65 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.3101, allocations: 70.41 kB / 429 MB, free: 15.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01055/0.3206, allocations: 4.032 MB / 433.1 MB, free: 12.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3206, allocations: 0 / 433.1 MB, free: 12.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.3207, allocations: 4 kB / 433.1 MB, free: 12.27 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000563/0.3212, allocations: 0.4964 MB / 433.6 MB, free: 11.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.3213, allocations: 8.031 kB / 433.6 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.3213, allocations: 24.75 kB / 433.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.3215, allocations: 246.2 kB / 433.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.3216, allocations: 13.88 kB / 433.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/0.3216, allocations: 22.62 kB / 433.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.322, allocations: 220.5 kB / 434.1 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.322, allocations: 1.562 kB / 434.1 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.322, allocations: 19.11 kB / 434.1 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.322, allocations: 5.312 kB / 434.1 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.3223, allocations: 150.2 kB / 434.3 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.3235, allocations: 0.8437 MB / 435.1 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.3238, allocations: 155.5 kB / 435.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.3238, allocations: 7.969 kB / 435.3 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.361e-05/0.3239, allocations: 42.08 kB / 435.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.142e-06/0.3239, allocations: 0 / 435.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.001012/0.3249, allocations: 420.4 kB / 435.7 MB, free: 9.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.3249, allocations: 55.41 kB / 435.8 MB, free: 9.773 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.325, allocations: 157.8 kB / 435.9 MB, free: 9.629 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.3251, allocations: 33.7 kB / 436 MB, free: 9.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.3251, allocations: 149.5 kB / 436.1 MB, free: 9.457 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.3251, allocations: 62.03 kB / 436.2 MB, free: 9.402 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/0.3252, allocations: 3.5 kB / 436.2 MB, free: 9.402 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.648e-05/0.3252, allocations: 329.8 kB / 436.5 MB, free: 9.078 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.795e-05/0.3253, allocations: 54.53 kB / 436.6 MB, free: 9.039 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.801e-05/0.3254, allocations: 84.05 kB / 436.6 MB, free: 8.969 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.3255, allocations: 64.73 kB / 436.7 MB, free: 8.934 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3256, allocations: 0 / 436.7 MB, free: 8.934 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003666/0.3259, allocations: 233.6 kB / 436.9 MB, free: 8.754 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.3259, allocations: 8.062 kB / 436.9 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.326, allocations: 4 kB / 436.9 MB, free: 8.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.3271, allocations: 214.4 kB / 437.1 MB, free: 8.539 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.3272, allocations: 31.36 kB / 437.2 MB, free: 8.512 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002945/0.3275, allocations: 0.6176 MB / 437.8 MB, free: 7.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.3277, allocations: 26.52 kB / 437.8 MB, free: 7.887 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.3277, allocations: 4 kB / 437.8 MB, free: 7.883 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 8.068e-05/0.3278, allocations: 132.9 kB / 438 MB, free: 7.758 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.453e-05/0.3278, allocations: 15.92 kB / 438 MB, free: 7.742 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003566/0.3282, allocations: 240.6 kB / 438.2 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3282, allocations: 4 kB / 438.2 MB, free: 7.562 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.3282, allocations: 0 / 438.2 MB, free: 7.562 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3282, allocations: 0 / 438.2 MB, free: 7.562 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.3284, allocations: 285.3 kB / 438.5 MB, free: 7.281 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3284, allocations: 0 / 438.5 MB, free: 7.281 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.3286, allocations: 31.98 kB / 438.5 MB, free: 7.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.3296, allocations: 222.7 kB / 438.7 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.3296, allocations: 11.08 kB / 438.7 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002745/0.3299, allocations: 0.625 MB / 439.4 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3299, allocations: 0 / 439.4 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/0.3303, allocations: 389.6 kB / 439.8 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.3304, allocations: 117.4 kB / 439.9 MB, free: 5.988 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.3304, allocations: 7.062 kB / 439.9 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.3306, allocations: 8 kB / 439.9 MB, free: 5.977 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.3306, allocations: 14.86 kB / 439.9 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.3306, allocations: 4 kB / 439.9 MB, free: 5.965 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.653e-05/0.3307, allocations: 136 kB / 440 MB, free: 5.848 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3307, allocations: 0 / 440 MB, free: 5.848 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002621/0.331, allocations: 65.03 kB / 440.1 MB, free: 5.793 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * 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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001161/0.3311, allocations: 122.1 kB / 440.2 MB, free: 5.664 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003147/0.3314, allocations: 157.3 kB / 440.4 MB, free: 5.547 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3314, allocations: 0 / 440.4 MB, free: 5.547 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.3316, allocations: 92.2 kB / 440.5 MB, free: 5.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.3318, allocations: 33.06 kB / 440.5 MB, free: 5.461 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006948/0.3325, allocations: 0.6754 MB / 441.2 MB, free: 4.793 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.3327, allocations: 0.748 MB / 441.9 MB, free: 4.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.524e-05/0.3327, allocations: 5.562 kB / 441.9 MB, free: 4.016 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.3328, allocations: 19.42 kB / 441.9 MB, free: 3.996 MB / 314.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3328, allocations: 0 / 441.9 MB, free: 3.996 MB / 314.7 MB Notification: Performance of Templates: time 0.004078/0.3368, allocations: 2.34 MB / 444.3 MB, free: 1.711 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1)