Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6943/0.6943, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001657/0.001657, allocations: 151.4 kB / 149.1 MB, free: 0.957 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.305e-05/2.306e-05, allocations: 4 kB / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05047/0.05051, allocations: 25.17 MB / 205.4 MB, free: 8.438 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05493/0.1055, allocations: 36.53 MB / 241.9 MB, free: 3.848 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.1058, allocations: 67.97 kB / 242 MB, free: 3.781 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1412/0.247, allocations: 4.188 MB / 246.2 MB, free: 41.3 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.247, allocations: 0 / 246.2 MB, free: 41.3 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.89e-05/0.2471, allocations: 9.25 kB / 246.2 MB, free: 41.3 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001111/0.2482, allocations: 0.5516 MB / 246.7 MB, free: 40.89 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.2482, allocations: 13.72 kB / 246.7 MB, free: 40.89 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.881e-05/0.2483, allocations: 29.47 kB / 246.8 MB, free: 40.88 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.2486, allocations: 241.9 kB / 247 MB, free: 40.67 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.2487, allocations: 13.91 kB / 247 MB, free: 40.67 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.403e-05/0.2487, allocations: 17.81 kB / 247 MB, free: 40.67 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.2492, allocations: 188.7 kB / 247.2 MB, free: 40.64 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.2492, allocations: 0.6562 kB / 247.2 MB, free: 40.64 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.2492, allocations: 10.58 kB / 247.2 MB, free: 40.63 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.2492, allocations: 5.375 kB / 247.2 MB, free: 40.63 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.2496, allocations: 161.1 kB / 247.4 MB, free: 40.62 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.2515, allocations: 0.8685 MB / 248.3 MB, free: 40.26 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/0.2543, allocations: 480 kB / 248.7 MB, free: 40.24 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.2547, allocations: 145.9 kB / 248.9 MB, free: 40.23 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.2547, allocations: 2.125 kB / 248.9 MB, free: 40.23 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002864/0.255, allocations: 155.5 kB / 249 MB, free: 40.16 MB / 186.7 MB Notification: Performance of pre-optimization done (n=19): time 1.923e-06/0.255, allocations: 0 / 249 MB, free: 40.16 MB / 186.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004359/0.2555, allocations: 193.2 kB / 249.2 MB, free: 40.11 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.2555, allocations: 110.3 kB / 249.3 MB, free: 39.98 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.2558, allocations: 200.4 kB / 249.5 MB, free: 39.89 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.2558, allocations: 27.3 kB / 249.6 MB, free: 39.86 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.764e-05/0.2559, allocations: 152 kB / 249.7 MB, free: 39.74 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.396e-05/0.2559, allocations: 69.97 kB / 249.8 MB, free: 39.69 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/0.256, allocations: 1.406 kB / 249.8 MB, free: 39.69 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 7.983e-05/0.2561, allocations: 342.3 kB / 250.1 MB, free: 39.36 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.2562, allocations: 59.14 kB / 250.2 MB, free: 39.33 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.2563, allocations: 96.91 kB / 250.3 MB, free: 39.27 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.2565, allocations: 68.2 kB / 250.3 MB, free: 39.24 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2565, allocations: 4.031 kB / 250.3 MB, free: 39.23 MB / 186.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003699/0.2569, allocations: 226.9 kB / 250.6 MB, free: 39.13 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2569, allocations: 4.656 kB / 250.6 MB, free: 39.13 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2569, allocations: 1.156 kB / 250.6 MB, free: 39.13 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.2569, allocations: 7.031 kB / 250.6 MB, free: 39.12 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002253/0.2592, allocations: 326.7 kB / 250.9 MB, free: 39.11 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003698/0.2629, allocations: 3.048 MB / 253.9 MB, free: 36.25 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003752/0.2633, allocations: 58.28 kB / 254 MB, free: 36.24 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.2633, allocations: 8.031 kB / 254 MB, free: 36.24 MB / 186.7 MB Warning: Assuming fixed start value for the following 3 variables: inductor.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real thyristor_v4_1.vControl:VARIABLE(start = 0.0 ) type: Real pulseCurrent.signalSource.T0:DISCRETE(start = pulseCurrent.signalSource.startTime unit = "s" fixed = false protected = true ) "Start time of current period" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.pulseCurrent.signalSource.T0,pulseCurrent.signalSource.T0) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001686/0.2635, allocations: 129.1 kB / 254.1 MB, free: 36.11 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.2636, allocations: 25.92 kB / 254.1 MB, free: 36.1 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666e-05/0.2636, allocations: 26.88 kB / 254.2 MB, free: 36.08 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2636, allocations: 2.406 kB / 254.2 MB, free: 36.08 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.2637, allocations: 0 / 254.2 MB, free: 36.08 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.2637, allocations: 2.312 kB / 254.2 MB, free: 36.08 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.2648, allocations: 0.7442 MB / 254.9 MB, free: 35.55 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2648, allocations: 4.297 kB / 254.9 MB, free: 35.55 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002248/0.2671, allocations: 326.5 kB / 255.2 MB, free: 35.53 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.2671, allocations: 1.594 kB / 255.2 MB, free: 35.53 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.2671, allocations: 5.625 kB / 255.3 MB, free: 35.53 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003558/0.2707, allocations: 3.049 MB / 258.3 MB, free: 32.67 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2707, allocations: 5.375 kB / 258.3 MB, free: 32.67 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005892/0.2713, allocations: 409.1 kB / 258.7 MB, free: 32.38 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.2714, allocations: 122.8 kB / 258.8 MB, free: 32.27 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.2715, allocations: 6.531 kB / 258.8 MB, free: 32.26 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/0.2718, allocations: 45.86 kB / 258.9 MB, free: 32.26 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.085e-05/0.2719, allocations: 26.09 kB / 258.9 MB, free: 32.25 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.272, allocations: 12.94 kB / 258.9 MB, free: 32.24 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001764/0.2721, allocations: 164.2 kB / 259.1 MB, free: 32.13 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2721, allocations: 3.938 kB / 259.1 MB, free: 32.13 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005492/0.2727, allocations: 71.78 kB / 259.1 MB, free: 32.12 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 2 ($whenCondition1,pulseCurrent.signalSource.T0) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001882/0.2729, allocations: 106.7 kB / 259.3 MB, free: 32.02 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.002252/0.2752, allocations: 405.5 kB / 259.6 MB, free: 31.95 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.2752, allocations: 3.875 kB / 259.7 MB, free: 31.95 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.277, allocations: 322.6 kB / 260 MB, free: 31.9 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.2773, allocations: 45.59 kB / 260 MB, free: 31.88 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.2785, allocations: 408.9 kB / 260.4 MB, free: 31.65 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.2787, allocations: 0.7487 MB / 261.2 MB, free: 30.96 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.2788, allocations: 24.97 kB / 261.2 MB, free: 30.95 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.629e-05/0.2788, allocations: 19.75 kB / 261.2 MB, free: 30.94 MB / 186.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2789, allocations: 0 / 261.2 MB, free: 30.94 MB / 186.7 MB Notification: Performance of Templates: time 0.005272/0.2841, allocations: 2.781 MB / 264 MB, free: 30.1 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1)