Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8036/0.8036, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001691/0.001691, allocations: 159.3 kB / 144 MB, free: 4.789 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.646e-05/1.648e-05, allocations: 4 kB / 173.9 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04084/0.04087, allocations: 25.18 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04963/0.09052, allocations: 35.47 MB / 234.5 MB, free: 10.17 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001571/0.09071, allocations: 63.97 kB / 234.6 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01083/0.1016, allocations: 3.839 MB / 238.4 MB, free: 6.258 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1016, allocations: 0 / 238.4 MB, free: 6.258 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.007e-05/0.1016, allocations: 4 kB / 238.4 MB, free: 6.254 MB / 186.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.000796/0.1024, allocations: 490.2 kB / 238.9 MB, free: 5.727 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.1025, allocations: 8.031 kB / 238.9 MB, free: 5.719 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.1026, allocations: 23.72 kB / 238.9 MB, free: 5.695 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.103, allocations: 239.3 kB / 239.1 MB, free: 5.418 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.103, allocations: 4 kB / 239.2 MB, free: 5.414 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.1031, allocations: 15.98 kB / 239.2 MB, free: 5.398 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003068/0.1034, allocations: 128.9 kB / 239.3 MB, free: 5.273 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.1038, allocations: 193 kB / 239.5 MB, free: 5.074 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.1038, allocations: 0 / 239.5 MB, free: 5.074 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.1038, allocations: 4 kB / 239.5 MB, free: 5.07 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1038, allocations: 4 kB / 239.5 MB, free: 5.066 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.1052, allocations: 0.8082 MB / 240.3 MB, free: 4.203 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.1054, allocations: 134.6 kB / 240.4 MB, free: 4.062 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.1056, allocations: 76.86 kB / 240.5 MB, free: 3.984 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.1056, allocations: 8 kB / 240.5 MB, free: 3.977 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.1057, allocations: 34.56 kB / 240.5 MB, free: 3.934 MB / 186.7 MB Notification: Performance of pre-optimization done (n=17): time 1.323e-06/0.1057, allocations: 0 / 240.5 MB, free: 3.934 MB / 186.7 MB Notification: Performance of matching and sorting (n=17): time 0.000627/0.1063, allocations: 202.4 kB / 240.7 MB, free: 3.727 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.1064, allocations: 59.34 kB / 240.8 MB, free: 3.656 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.1065, allocations: 162.6 kB / 241 MB, free: 3.484 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.1066, allocations: 25.7 kB / 241 MB, free: 3.453 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1067, allocations: 159.9 kB / 241.1 MB, free: 3.293 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/0.1067, allocations: 51.19 kB / 241.2 MB, free: 3.242 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/0.1067, allocations: 0 / 241.2 MB, free: 3.242 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1069, allocations: 326.8 kB / 241.5 MB, free: 2.914 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-05/0.107, allocations: 40.19 kB / 241.6 MB, free: 2.871 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.973e-05/0.1071, allocations: 88.78 kB / 241.6 MB, free: 2.77 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.1073, allocations: 60.66 kB / 241.7 MB, free: 2.711 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1073, allocations: 4 kB / 241.7 MB, free: 2.707 MB / 186.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004768/0.1078, allocations: 239.7 kB / 241.9 MB, free: 2.465 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1078, allocations: 4 kB / 241.9 MB, free: 2.461 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1078, allocations: 0 / 241.9 MB, free: 2.461 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005505/0.1084, allocations: 104.8 kB / 242 MB, free: 2.355 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.1085, allocations: 43.89 kB / 242.1 MB, free: 2.312 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005887/0.1091, allocations: 0.6265 MB / 242.7 MB, free: 1.66 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.1093, allocations: 19.88 kB / 242.7 MB, free: 1.641 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.1093, allocations: 12.06 kB / 242.7 MB, free: 1.629 MB / 186.7 MB Warning: Assuming fixed start value for the following 2 variables: HeatCapacitor1.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(6000.0, min(6000.0, 6000.0)) start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real 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 0.0001989/0.1095, allocations: 128.1 kB / 242.9 MB, free: 1.5 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.1096, allocations: 19.81 kB / 242.9 MB, free: 1.48 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/0.11, allocations: 208.5 kB / 243.1 MB, free: 1.262 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1101, allocations: 0 / 243.1 MB, free: 1.262 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1101, allocations: 3.938 kB / 243.1 MB, free: 1.258 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1101, allocations: 4 kB / 243.1 MB, free: 1.254 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008726/0.111, allocations: 0.5472 MB / 243.6 MB, free: 0.6562 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.111, allocations: 0 / 243.6 MB, free: 0.6562 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.1112, allocations: 32.02 kB / 243.7 MB, free: 0.625 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004702/0.1116, allocations: 108.8 kB / 243.8 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.1117, allocations: 0 / 243.8 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1049/0.2166, allocations: 0.6379 MB / 244.4 MB, free: 42.64 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.2166, allocations: 1.375 kB / 244.4 MB, free: 42.64 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006673/0.2173, allocations: 394 kB / 244.8 MB, free: 42.48 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.543e-05/0.2174, allocations: 104.3 kB / 244.9 MB, free: 42.39 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.2174, allocations: 2.125 kB / 244.9 MB, free: 42.39 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.2176, allocations: 15.88 kB / 244.9 MB, free: 42.39 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.2177, allocations: 12.02 kB / 244.9 MB, free: 42.39 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.2177, allocations: 7.828 kB / 244.9 MB, free: 42.39 MB / 186.7 MB Notification: Performance of sorting global known variables: time 8.903e-05/0.2178, allocations: 122.9 kB / 245.1 MB, free: 42.31 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.2178, allocations: 5.188 kB / 245.1 MB, free: 42.31 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003743/0.2182, allocations: 65.22 kB / 245.1 MB, free: 42.31 MB / 186.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.0001423/0.2183, allocations: 107 kB / 245.2 MB, free: 42.22 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.2186, allocations: 140.7 kB / 245.4 MB, free: 42.22 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2187, allocations: 0.8438 kB / 245.4 MB, free: 42.22 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.2188, allocations: 72.36 kB / 245.4 MB, free: 42.22 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.2192, allocations: 39.56 kB / 245.5 MB, free: 42.22 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006141/0.2198, allocations: 361.7 kB / 245.8 MB, free: 42.07 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.22, allocations: 0.749 MB / 246.6 MB, free: 41.37 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 7.372e-05/0.22, allocations: 14.22 kB / 246.6 MB, free: 41.36 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.2201, allocations: 17.75 kB / 246.6 MB, free: 41.36 MB / 186.7 MB Notification: Performance of SimCode: time 2.61e-07/0.2201, allocations: 1.312 kB / 246.6 MB, free: 41.36 MB / 186.7 MB Notification: Performance of Templates: time 0.005321/0.2254, allocations: 2.374 MB / 249 MB, free: 41.2 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1)