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.001088/0.001088, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.489/1.489, allocations: 194.3 MB / 208.4 MB, free: 6.715 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.001603/0.001603, allocations: 128.6 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.221e-05/3.223e-05, allocations: 4 kB / 304.9 MB, free: 29.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08623/0.08628, allocations: 44.5 MB / 349.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3308/0.4172, allocations: 73.83 MB / 423.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.4175, allocations: 75.84 kB / 423.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01/0.4275, allocations: 4.017 MB / 427.4 MB, free: 9.699 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4275, allocations: 0 / 427.4 MB, free: 9.699 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.4275, allocations: 7.562 kB / 427.4 MB, free: 9.699 MB / 298.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.0005365/0.4281, allocations: 489.3 kB / 427.8 MB, free: 9.266 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.4281, allocations: 7.75 kB / 427.9 MB, free: 9.266 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.4282, allocations: 26.97 kB / 427.9 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.4284, allocations: 228.4 kB / 428.1 MB, free: 9.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.4284, allocations: 22.97 kB / 428.1 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.954e-05/0.4285, allocations: 23.31 kB / 428.2 MB, free: 9.012 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.4288, allocations: 218.4 kB / 428.4 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4288, allocations: 0 / 428.4 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.4289, allocations: 9.625 kB / 428.4 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.4289, allocations: 3.969 kB / 428.4 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.4291, allocations: 143.2 kB / 428.5 MB, free: 8.922 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.4302, allocations: 0.8463 MB / 429.4 MB, free: 8.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.4305, allocations: 141.1 kB / 429.5 MB, free: 8.312 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.4307, allocations: 90.5 kB / 429.6 MB, free: 8.297 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.4307, allocations: 11.52 kB / 429.6 MB, free: 8.293 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.4307, allocations: 30.56 kB / 429.6 MB, free: 8.254 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.4307, allocations: 0 / 429.6 MB, free: 8.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.000488/0.4312, allocations: 198.1 kB / 429.8 MB, free: 8.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.4312, allocations: 55.22 kB / 429.9 MB, free: 8.117 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.4314, allocations: 167.6 kB / 430 MB, free: 8.004 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.4314, allocations: 32.7 kB / 430.1 MB, free: 7.969 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.4315, allocations: 147.5 kB / 430.2 MB, free: 7.848 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.4315, allocations: 53.95 kB / 430.3 MB, free: 7.809 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.4315, allocations: 3.625 kB / 430.3 MB, free: 7.809 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.183e-05/0.4316, allocations: 333.7 kB / 430.6 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.507e-05/0.4317, allocations: 45.28 kB / 430.6 MB, free: 7.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.468e-05/0.4318, allocations: 78.11 kB / 430.7 MB, free: 7.445 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.303e-05/0.4319, allocations: 51.61 kB / 430.8 MB, free: 7.441 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4319, allocations: 0 / 430.8 MB, free: 7.441 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003403/0.4322, allocations: 224.8 kB / 431 MB, free: 7.363 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.4322, allocations: 3.844 kB / 431 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4323, allocations: 3.938 kB / 431 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.4335, allocations: 221.7 kB / 431.2 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.4336, allocations: 38.95 kB / 431.3 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003643/0.434, allocations: 0.6082 MB / 431.9 MB, free: 6.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.4341, allocations: 23.14 kB / 431.9 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.4342, allocations: 7.906 kB / 431.9 MB, free: 6.723 MB / 298.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 () * 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 6.644e-05/0.4342, allocations: 108.8 kB / 432 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.4343, allocations: 23.11 kB / 432 MB, free: 6.605 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003522/0.4346, allocations: 215 kB / 432.2 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.4346, allocations: 0 / 432.2 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4347, allocations: 3.844 kB / 432.2 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4347, allocations: 3.984 kB / 432.2 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006951/0.4354, allocations: 0.5855 MB / 432.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4354, allocations: 0 / 432.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.4355, allocations: 38.97 kB / 432.9 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.4365, allocations: 213.2 kB / 433.1 MB, free: 6.039 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.4366, allocations: 6.781 kB / 433.1 MB, free: 6.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000304/0.4369, allocations: 0.6222 MB / 433.7 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4369, allocations: 0 / 433.7 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.4374, allocations: 388.5 kB / 434.1 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/0.4374, allocations: 114.7 kB / 434.2 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.4375, allocations: 11.25 kB / 434.2 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.4376, allocations: 7.812 kB / 434.2 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/0.4377, allocations: 19.38 kB / 434.2 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.4377, allocations: 3.812 kB / 434.2 MB, free: 5.172 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.569e-05/0.4378, allocations: 124.3 kB / 434.4 MB, free: 5.094 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4378, allocations: 0 / 434.4 MB, free: 5.094 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002987/0.4381, allocations: 67.78 kB / 434.4 MB, free: 5.082 MB / 298.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.0001869/0.4383, allocations: 129.1 kB / 434.5 MB, free: 4.973 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003267/0.4386, allocations: 134.5 kB / 434.7 MB, free: 4.961 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4387, allocations: 0 / 434.7 MB, free: 4.961 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.4388, allocations: 73.92 kB / 434.7 MB, free: 4.953 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.4391, allocations: 29.89 kB / 434.8 MB, free: 4.945 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006989/0.4398, allocations: 378.5 kB / 435.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.44, allocations: 0.7426 MB / 435.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.279e-05/0.4401, allocations: 21.03 kB / 435.9 MB, free: 3.945 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.4401, allocations: 15.16 kB / 435.9 MB, free: 3.938 MB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.4401, allocations: 0 / 435.9 MB, free: 3.938 MB / 298.7 MB Notification: Performance of Templates: time 0.005042/0.4451, allocations: 2.361 MB / 438.3 MB, free: 2.746 MB / 298.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)