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.828/0.828, allocations: 110.8 MB / 118.3 MB, free: 14.48 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001628/0.001629, allocations: 163.4 kB / 144 MB, free: 4.793 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.938e-05/1.928e-05, allocations: 4 kB / 173.8 MB, free: 22.81 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05086/0.0509, allocations: 25.19 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05226/0.1032, allocations: 35.86 MB / 234.9 MB, free: 9.781 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.1035, allocations: 67.95 kB / 235 MB, free: 9.715 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01303/0.1165, allocations: 4.148 MB / 239.1 MB, free: 5.547 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1166, allocations: 0 / 239.1 MB, free: 5.547 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.822e-05/0.1166, allocations: 4 kB / 239.1 MB, free: 5.543 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.0013/0.1179, allocations: 0.5497 MB / 239.7 MB, free: 4.945 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.118, allocations: 8.031 kB / 239.7 MB, free: 4.938 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.1181, allocations: 31.62 kB / 239.7 MB, free: 4.906 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.1186, allocations: 238.7 kB / 239.9 MB, free: 4.633 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.1186, allocations: 8 kB / 239.9 MB, free: 4.625 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.321e-05/0.1187, allocations: 19.91 kB / 240 MB, free: 4.605 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003302/0.119, allocations: 136.7 kB / 240.1 MB, free: 4.473 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000341/0.1194, allocations: 176.1 kB / 240.3 MB, free: 4.297 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1194, allocations: 0 / 240.3 MB, free: 4.297 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.1194, allocations: 4 kB / 240.3 MB, free: 4.293 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.1194, allocations: 4 kB / 240.3 MB, free: 4.289 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.1213, allocations: 0.8261 MB / 241.1 MB, free: 3.414 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002816/0.1241, allocations: 474.2 kB / 241.6 MB, free: 2.941 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.1244, allocations: 144.8 kB / 241.7 MB, free: 2.797 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.1245, allocations: 4 kB / 241.7 MB, free: 2.793 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002776/0.1247, allocations: 145.9 kB / 241.8 MB, free: 2.629 MB / 186.7 MB Notification: Performance of pre-optimization done (n=19): time 1.923e-06/0.1248, allocations: 0 / 241.8 MB, free: 2.629 MB / 186.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004105/0.1252, allocations: 177.6 kB / 242 MB, free: 2.449 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.1252, allocations: 114.8 kB / 242.1 MB, free: 2.312 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.1255, allocations: 182 kB / 242.3 MB, free: 2.129 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.1255, allocations: 29.7 kB / 242.3 MB, free: 2.094 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1256, allocations: 152.2 kB / 242.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.396e-05/0.1257, allocations: 55.11 kB / 242.5 MB, free: 1.883 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.417e-05/0.1257, allocations: 7.938 kB / 242.6 MB, free: 1.875 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1259, allocations: 338.8 kB / 242.9 MB, free: 1.535 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.126, allocations: 52.19 kB / 242.9 MB, free: 1.48 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.1261, allocations: 96.47 kB / 243 MB, free: 1.371 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.1263, allocations: 65.66 kB / 243.1 MB, free: 1.309 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1263, allocations: 0 / 243.1 MB, free: 1.309 MB / 186.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003655/0.1267, allocations: 205.4 kB / 243.3 MB, free: 1.105 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1267, allocations: 7.406 kB / 243.3 MB, free: 1.102 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.1267, allocations: 12 kB / 243.3 MB, free: 1.09 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1267, allocations: 0 / 243.3 MB, free: 1.09 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/0.1289, allocations: 331.6 kB / 243.6 MB, free: 0.7656 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1239/0.2529, allocations: 2.951 MB / 246.6 MB, free: 40.57 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004301/0.2533, allocations: 52.98 kB / 246.6 MB, free: 40.57 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.2534, allocations: 12.84 kB / 246.6 MB, free: 40.57 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 Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: thyristor_v4_1.vAK:VARIABLE() "voltage between anode and cathode" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: thyristor_v4_1.vGK:VARIABLE() "voltage between gate and cathode" 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.0001942/0.2536, allocations: 112.4 kB / 246.8 MB, free: 40.47 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/0.2536, allocations: 25.33 kB / 246.8 MB, free: 40.47 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.2538, allocations: 33.44 kB / 246.8 MB, free: 40.46 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2538, allocations: 6.688 kB / 246.8 MB, free: 40.46 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2538, allocations: 0 / 246.8 MB, free: 40.46 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2538, allocations: 2.406 kB / 246.8 MB, free: 40.46 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.255, allocations: 0.6859 MB / 247.5 MB, free: 40.11 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.255, allocations: 7.406 kB / 247.5 MB, free: 40.11 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002226/0.2572, allocations: 321.8 kB / 247.8 MB, free: 40.11 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.2573, allocations: 1.656 kB / 247.8 MB, free: 40.11 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.2573, allocations: 7.391 kB / 247.8 MB, free: 40.11 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003586/0.2609, allocations: 2.952 MB / 250.8 MB, free: 37.52 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.2609, allocations: 2.844 kB / 250.8 MB, free: 37.52 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005589/0.2615, allocations: 402 kB / 251.2 MB, free: 37.33 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.2616, allocations: 119.5 kB / 251.3 MB, free: 37.22 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.2617, allocations: 3.156 kB / 251.3 MB, free: 37.22 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.2621, allocations: 47.02 kB / 251.4 MB, free: 37.22 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.727e-05/0.2622, allocations: 24.91 kB / 251.4 MB, free: 37.22 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.2622, allocations: 9.938 kB / 251.4 MB, free: 37.22 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.000177/0.2624, allocations: 152.4 kB / 251.5 MB, free: 37.14 MB / 186.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.2624, allocations: 0 / 251.5 MB, free: 37.14 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005257/0.2629, allocations: 70.45 kB / 251.6 MB, free: 37.14 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.0001699/0.2631, allocations: 113.1 kB / 251.7 MB, free: 37.05 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.002216/0.2653, allocations: 391.9 kB / 252.1 MB, free: 37.04 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2654, allocations: 0 / 252.1 MB, free: 37.04 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001999/0.2674, allocations: 321.6 kB / 252.4 MB, free: 37.02 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.2677, allocations: 26.94 kB / 252.4 MB, free: 37.02 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.2691, allocations: 406.6 kB / 252.8 MB, free: 36.83 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.2693, allocations: 0.7551 MB / 253.6 MB, free: 36.13 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.2695, allocations: 19.06 kB / 253.6 MB, free: 36.12 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.2696, allocations: 17.81 kB / 253.6 MB, free: 36.12 MB / 186.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2696, allocations: 1.344 kB / 253.6 MB, free: 36.12 MB / 186.7 MB Notification: Performance of Templates: time 0.008128/0.2777, allocations: 2.514 MB / 256.1 MB, free: 35.98 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)