Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001578/0.001578, allocations: 156.1 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.275/1.275, allocations: 170.7 MB / 178.7 MB, free: 7.039 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001626/0.001626, allocations: 114.5 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.775e-05/1.777e-05, allocations: 8 kB / 262.2 MB, free: 3.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2411, allocations: 38.76 MB / 301 MB, free: 39.1 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.085/0.3261, allocations: 69.02 MB / 370 MB, free: 10.62 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.3264, allocations: 74.34 kB / 370.1 MB, free: 10.55 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0183/0.3447, allocations: 6.914 MB / 377 MB, free: 3.703 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3447, allocations: 0 / 377 MB, free: 3.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.3448, allocations: 8 kB / 377 MB, free: 3.695 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001065/0.3458, allocations: 0.7175 MB / 377.7 MB, free: 2.918 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3459, allocations: 8.031 kB / 377.7 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.346, allocations: 55.34 kB / 377.8 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.3464, allocations: 327.8 kB / 378.1 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.3464, allocations: 12 kB / 378.1 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.3465, allocations: 29.17 kB / 378.1 MB, free: 2.457 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004769/0.347, allocations: 261.5 kB / 378.4 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.3476, allocations: 345.9 kB / 378.7 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3476, allocations: 4 kB / 378.7 MB, free: 1.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.3476, allocations: 4 kB / 378.7 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.3476, allocations: 8 kB / 378.7 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/0.3498, allocations: 1.552 MB / 380.3 MB, free: 188 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/0.3502, allocations: 314.8 kB / 380.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.3505, allocations: 169.1 kB / 380.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.3505, allocations: 4.281 kB / 380.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003806/0.3509, allocations: 261.9 kB / 381 MB, free: 15.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 2.044e-06/0.3509, allocations: 1.875 kB / 381 MB, free: 15.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.0008444/0.3518, allocations: 428.1 kB / 381.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.3519, allocations: 221.6 kB / 381.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.3522, allocations: 253.1 kB / 381.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.3522, allocations: 25.7 kB / 381.9 MB, free: 14.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.3524, allocations: 228.2 kB / 382.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.617e-05/0.3525, allocations: 102.5 kB / 382.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-05/0.3525, allocations: 0 / 382.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3526, allocations: 346.8 kB / 382.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.3528, allocations: 104.9 kB / 382.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.3531, allocations: 165.8 kB / 382.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.3533, allocations: 112.7 kB / 383 MB, free: 13.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3533, allocations: 0 / 383 MB, free: 13.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006564/0.354, allocations: 414.3 kB / 383.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.484e-05/0.354, allocations: 63.36 kB / 383.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.354, allocations: 3.984 kB / 383.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004649/0.3545, allocations: 153 kB / 383.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.3547, allocations: 35.91 kB / 383.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004674/0.3594, allocations: 5.729 MB / 389.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.3598, allocations: 44.62 kB / 389.4 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.3599, allocations: 13.78 kB / 389.4 MB, free: 6.418 MB / 298.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: IdealGTOThyristor2.s:VARIABLE(unit = "1" protected = true ) "Auxiliary variable: if on then current, if opened then voltage" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: IdealThyristor2.s:VARIABLE(unit = "1" protected = true ) "Auxiliary variable: if on then current, if opened then voltage" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: IdealGTOThyristor1.s:VARIABLE(unit = "1" protected = true ) "Auxiliary variable: if on then current, if opened then voltage" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: IdealThyristor1.s:VARIABLE(unit = "1" protected = true ) "Auxiliary variable: if on then current, if opened then voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealGTOThyristor1.off,$PRE.booleanStep1.y,booleanStep1.y,$PRE.booleanStep1.nextTime,booleanStep1.nextTime,$PRE.booleanStep1.index,booleanStep1.index,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000249/0.3601, allocations: 170 kB / 389.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.144e-05/0.3602, allocations: 43.48 kB / 389.6 MB, free: 6.203 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.3603, allocations: 40.31 kB / 389.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3603, allocations: 4 kB / 389.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3604, allocations: 0 / 389.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3604, allocations: 3.984 kB / 389.7 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000489/0.3609, allocations: 374.3 kB / 390 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.3609, allocations: 0 / 390 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.3611, allocations: 27.92 kB / 390.1 MB, free: 5.723 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004195/0.3615, allocations: 159.3 kB / 390.2 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.3615, allocations: 4 kB / 390.2 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00416/0.3657, allocations: 5.56 MB / 395.8 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3657, allocations: 0 / 395.8 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007799/0.3665, allocations: 471.6 kB / 396.2 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.3667, allocations: 142.1 kB / 396.4 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.634e-05/0.3668, allocations: 11.98 kB / 396.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.367, allocations: 31.97 kB / 396.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.3672, allocations: 51.86 kB / 396.5 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.3672, allocations: 8 kB / 396.5 MB, free: 14.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001843/0.3674, allocations: 200.6 kB / 396.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3674, allocations: 0 / 396.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007239/0.3681, allocations: 163.6 kB / 396.8 MB, free: 14.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealGTOThyristor1.off,booleanStep1.y,booleanStep1.nextTime,booleanStep1.index,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,booleanPulse.pulsStart) * Number of discrete states: 6 (IdealThyristor1.off,booleanStep1.y,booleanStep1.nextTime,booleanStep1.index,$whenCondition1,IdealThyristor2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002222/0.3684, allocations: 125 kB / 397 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009124/0.3693, allocations: 0.8489 MB / 397.8 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3693, allocations: 0 / 397.8 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005602/0.3699, allocations: 0.6623 MB / 398.5 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.3702, allocations: 57.09 kB / 398.5 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007992/0.371, allocations: 479 kB / 399 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.3714, allocations: 0.8317 MB / 399.8 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000118/0.3715, allocations: 23.28 kB / 399.8 MB, free: 11.24 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.3716, allocations: 23.44 kB / 399.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of SimCode: time 2.164e-06/0.3716, allocations: 4 kB / 399.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of Templates: time 0.0122/0.3838, allocations: 6.286 MB / 406.2 MB, free: 4.996 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1)