Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009626/0.0009628, allocations: 164.2 kB / 12.72 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.322/1.322, allocations: 170.6 MB / 183.8 MB, free: 11.47 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001554/0.001554, allocations: 102.8 kB / 223.2 MB, free: 4.102 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.288e-05/3.33e-05, allocations: 8 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08111/0.08116, allocations: 38.76 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2806/0.3618, allocations: 68.61 MB / 376.2 MB, free: 7.641 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.3621, allocations: 67.84 kB / 376.3 MB, free: 7.605 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01075/0.3728, allocations: 4.018 MB / 380.3 MB, free: 4.172 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3728, allocations: 0 / 380.3 MB, free: 4.172 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.3729, allocations: 8 kB / 380.3 MB, free: 4.164 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006566/0.3735, allocations: 489 kB / 380.8 MB, free: 3.656 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.3736, allocations: 12.03 kB / 380.8 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.552e-05/0.3737, allocations: 23.72 kB / 380.8 MB, free: 3.621 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.3739, allocations: 234.2 kB / 381.1 MB, free: 3.363 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.374, allocations: 16.25 kB / 381.1 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.252e-05/0.374, allocations: 27.52 kB / 381.1 MB, free: 3.336 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/0.3744, allocations: 215.3 kB / 381.3 MB, free: 3.172 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3744, allocations: 0 / 381.3 MB, free: 3.172 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.3744, allocations: 11.38 kB / 381.3 MB, free: 3.168 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.3745, allocations: 8 kB / 381.3 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000256/0.3747, allocations: 143.9 kB / 381.5 MB, free: 3.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.3761, allocations: 0.8646 MB / 382.3 MB, free: 2.281 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.3764, allocations: 144.8 kB / 382.5 MB, free: 2.176 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.3766, allocations: 89.38 kB / 382.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.3766, allocations: 7.984 kB / 382.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.3766, allocations: 37.81 kB / 382.6 MB, free: 2.062 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.964e-06/0.3766, allocations: 0 / 382.6 MB, free: 2.062 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005206/0.3772, allocations: 196.2 kB / 382.8 MB, free: 1.902 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.3772, allocations: 55.41 kB / 382.9 MB, free: 1.836 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.3774, allocations: 167.9 kB / 383 MB, free: 1.684 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.3774, allocations: 29.39 kB / 383.1 MB, free: 1.652 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.913e-05/0.3775, allocations: 157.6 kB / 383.2 MB, free: 1.512 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.232e-05/0.3776, allocations: 61.52 kB / 383.3 MB, free: 1.461 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.3776, allocations: 3.812 kB / 383.3 MB, free: 1.461 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3777, allocations: 322.7 kB / 383.6 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.773e-05/0.3778, allocations: 50.86 kB / 383.6 MB, free: 1.109 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.3779, allocations: 80.53 kB / 383.7 MB, free: 1.035 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.3781, allocations: 73.72 kB / 383.8 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3781, allocations: 0 / 383.8 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004003/0.3785, allocations: 237.9 kB / 384 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3785, allocations: 4 kB / 384 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3785, allocations: 4 kB / 384 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.3797, allocations: 218.9 kB / 384.2 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.3799, allocations: 42.3 kB / 384.3 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004843/0.3804, allocations: 0.6036 MB / 384.9 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.3805, allocations: 22.72 kB / 384.9 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.3806, allocations: 11.06 kB / 384.9 MB, free: 15.92 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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 9.508e-05/0.3807, allocations: 115.3 kB / 385 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.3807, allocations: 19.8 kB / 385.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003796/0.3811, allocations: 212.6 kB / 385.3 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3811, allocations: 4.062 kB / 385.3 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3811, allocations: 3.953 kB / 385.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3811, allocations: 0 / 385.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008103/0.3819, allocations: 0.5944 MB / 385.9 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.382, allocations: 0 / 385.9 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.3821, allocations: 31.36 kB / 385.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/0.3832, allocations: 225.8 kB / 386.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.3832, allocations: 3.375 kB / 386.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004589/0.3837, allocations: 0.6235 MB / 386.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3837, allocations: 0 / 386.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005517/0.3843, allocations: 396.5 kB / 387.1 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.814e-05/0.3844, allocations: 107 kB / 387.2 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.3844, allocations: 6.734 kB / 387.2 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.3845, allocations: 18.89 kB / 387.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.3846, allocations: 10.92 kB / 387.3 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.3846, allocations: 4 kB / 387.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001049/0.3847, allocations: 141.5 kB / 387.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3847, allocations: 0 / 387.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002903/0.385, allocations: 66.66 kB / 387.5 MB, free: 13.55 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete 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.0001758/0.3852, allocations: 110.6 kB / 387.6 MB, free: 13.44 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003631/0.3856, allocations: 147.4 kB / 387.7 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3856, allocations: 0 / 387.7 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.3857, allocations: 74.83 kB / 387.8 MB, free: 13.28 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.386, allocations: 30.19 kB / 387.8 MB, free: 13.26 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007728/0.3868, allocations: 380.5 kB / 388.2 MB, free: 12.89 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.3871, allocations: 0.7479 MB / 389 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.351e-05/0.3872, allocations: 17.55 kB / 389 MB, free: 12.1 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.3873, allocations: 11.44 kB / 389 MB, free: 12.09 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3873, allocations: 0 / 389 MB, free: 12.09 MB / 282.7 MB Notification: Performance of Templates: time 0.005522/0.3928, allocations: 2.389 MB / 391.4 MB, free: 9.723 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1)