Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001037/0.001037, allocations: 187.9 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.337/1.337, allocations: 194.3 MB / 203.1 MB, free: 9.312 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001688/0.001688, allocations: 118.9 kB / 248.1 MB, free: 6.336 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.647e-05/1.66e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09175/0.09178, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3042/0.396, allocations: 74.12 MB / 416.7 MB, free: 21.7 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.3963, allocations: 70.34 kB / 416.8 MB, free: 21.67 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01242/0.4087, allocations: 4.603 MB / 421.4 MB, free: 17.8 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4088, allocations: 0 / 421.4 MB, free: 17.8 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.4088, allocations: 4 kB / 421.4 MB, free: 17.8 MB / 315.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001074/0.4099, allocations: 0.6064 MB / 422 MB, free: 17.16 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4099, allocations: 8.031 kB / 422 MB, free: 17.15 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.614e-05/0.41, allocations: 32.81 kB / 422 MB, free: 17.12 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.4103, allocations: 254.1 kB / 422.3 MB, free: 16.86 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.4104, allocations: 8 kB / 422.3 MB, free: 16.85 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.4104, allocations: 15.98 kB / 422.3 MB, free: 16.84 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002994/0.4107, allocations: 169.1 kB / 422.5 MB, free: 16.74 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.4111, allocations: 215.5 kB / 422.7 MB, free: 16.57 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.4111, allocations: 1.562 kB / 422.7 MB, free: 16.57 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.4111, allocations: 0 / 422.7 MB, free: 16.57 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.4111, allocations: 4 kB / 422.7 MB, free: 16.57 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.4128, allocations: 0.9795 MB / 423.6 MB, free: 15.71 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/0.4153, allocations: 471.5 kB / 424.1 MB, free: 15.32 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.4156, allocations: 146 kB / 424.3 MB, free: 15.23 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.4156, allocations: 7.953 kB / 424.3 MB, free: 15.22 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000262/0.4159, allocations: 170 kB / 424.4 MB, free: 15.06 MB / 315.1 MB Notification: Performance of pre-optimization done (n=21): time 2.565e-06/0.4159, allocations: 0 / 424.4 MB, free: 15.06 MB / 315.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003983/0.4163, allocations: 202.9 kB / 424.6 MB, free: 14.91 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.4164, allocations: 106.8 kB / 424.7 MB, free: 14.78 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.4165, allocations: 190.5 kB / 424.9 MB, free: 14.62 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.4166, allocations: 29.7 kB / 424.9 MB, free: 14.59 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.845e-05/0.4167, allocations: 153.9 kB / 425.1 MB, free: 14.46 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.4167, allocations: 69.12 kB / 425.2 MB, free: 14.4 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/0.4167, allocations: 4.031 kB / 425.2 MB, free: 14.4 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 7.788e-05/0.4168, allocations: 336.4 kB / 425.5 MB, free: 14.07 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.417, allocations: 71.41 kB / 425.6 MB, free: 14.03 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.4171, allocations: 106.7 kB / 425.7 MB, free: 13.95 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.4172, allocations: 73.23 kB / 425.7 MB, free: 13.91 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4172, allocations: 0 / 425.7 MB, free: 13.91 MB / 315.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003544/0.4176, allocations: 247.1 kB / 426 MB, free: 13.73 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.4176, allocations: 37.69 kB / 426 MB, free: 13.68 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4176, allocations: 0.6562 kB / 426 MB, free: 13.68 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.4177, allocations: 3.953 kB / 426 MB, free: 13.68 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/0.4198, allocations: 335.7 kB / 426.3 MB, free: 13.35 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00326/0.423, allocations: 2.959 MB / 429.3 MB, free: 10.28 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003796/0.4234, allocations: 61.14 kB / 429.4 MB, free: 10.22 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.4235, allocations: 10.92 kB / 429.4 MB, free: 10.21 MB / 315.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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 9.278e-05/0.4236, allocations: 116 kB / 429.5 MB, free: 10.09 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.4236, allocations: 24.98 kB / 429.5 MB, free: 10.07 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.674e-05/0.4237, allocations: 26.64 kB / 429.5 MB, free: 10.06 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.4237, allocations: 8 kB / 429.6 MB, free: 10.05 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.4237, allocations: 0 / 429.6 MB, free: 10.05 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4237, allocations: 0 / 429.6 MB, free: 10.05 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009351/0.4247, allocations: 0.7369 MB / 430.3 MB, free: 9.387 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4247, allocations: 6.203 kB / 430.3 MB, free: 9.383 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002048/0.4267, allocations: 334.4 kB / 430.6 MB, free: 9.059 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.4267, allocations: 0 / 430.6 MB, free: 9.059 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.4268, allocations: 7.828 kB / 430.6 MB, free: 9.055 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003117/0.4299, allocations: 2.968 MB / 433.6 MB, free: 5.977 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4299, allocations: 0 / 433.6 MB, free: 5.977 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004555/0.4304, allocations: 447.3 kB / 434 MB, free: 5.613 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.4304, allocations: 101.9 kB / 434.1 MB, free: 5.496 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.355e-05/0.4305, allocations: 0 / 434.1 MB, free: 5.496 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.4309, allocations: 55.7 kB / 434.2 MB, free: 5.445 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.431, allocations: 31.53 kB / 434.2 MB, free: 5.418 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.431, allocations: 4 kB / 434.2 MB, free: 5.414 MB / 315.1 MB Notification: Performance of sorting global known variables: time 9.94e-05/0.4311, allocations: 154.2 kB / 434.4 MB, free: 5.289 MB / 315.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4311, allocations: 0 / 434.4 MB, free: 5.289 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0004339/0.4316, allocations: 79.53 kB / 434.4 MB, free: 5.215 MB / 315.1 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: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001488/0.4317, allocations: 120.3 kB / 434.6 MB, free: 5.09 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.002014/0.4337, allocations: 468.3 kB / 435 MB, free: 4.688 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4337, allocations: 4 kB / 435 MB, free: 4.684 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001833/0.4356, allocations: 336.8 kB / 435.4 MB, free: 4.391 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.4359, allocations: 34.97 kB / 435.4 MB, free: 4.363 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.4371, allocations: 423.7 kB / 435.8 MB, free: 3.957 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.4373, allocations: 0.7555 MB / 436.6 MB, free: 3.176 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 0.0001497/0.4375, allocations: 22.08 kB / 436.6 MB, free: 3.156 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.44e-05/0.4376, allocations: 19.44 kB / 436.6 MB, free: 3.141 MB / 315.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4376, allocations: 0 / 436.6 MB, free: 3.141 MB / 315.1 MB Notification: Performance of Templates: time 0.005755/0.4433, allocations: 2.879 MB / 439.5 MB, free: 336 kB / 315.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1)