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.007604/0.007604, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.562/1.562, allocations: 170.8 MB / 186.6 MB, free: 1.027 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.001663/0.001664, allocations: 110 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.0003427, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2451, allocations: 38.76 MB / 312.9 MB, free: 38.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09208/0.3372, allocations: 69.77 MB / 382.7 MB, free: 4.758 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003962/0.3377, allocations: 71.97 kB / 382.7 MB, free: 4.688 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0199/0.3576, allocations: 6.992 MB / 389.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3576, allocations: 0 / 389.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.287e-05/0.3577, allocations: 8 kB / 389.7 MB, free: 13.66 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001531/0.3592, allocations: 0.773 MB / 390.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3593, allocations: 8.031 kB / 390.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.3595, allocations: 55.34 kB / 390.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005165/0.36, allocations: 318.8 kB / 390.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/0.36, allocations: 25 kB / 390.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.3601, allocations: 39.94 kB / 390.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007095/0.3608, allocations: 424.7 kB / 391.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3608, allocations: 4 kB / 391.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.023e-05/0.3609, allocations: 16 kB / 391.4 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.3609, allocations: 8 kB / 391.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005462/0.3615, allocations: 315.7 kB / 391.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/0.3637, allocations: 1.648 MB / 393.3 MB, free: 9.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005294/0.3643, allocations: 335 kB / 393.7 MB, free: 9.504 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.3643, allocations: 288 / 393.7 MB, free: 9.504 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004161/0.3647, allocations: 283.6 kB / 393.9 MB, free: 9.195 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 1.693e-06/0.3648, allocations: 0 / 393.9 MB, free: 9.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.002106/0.3669, allocations: 1.133 MB / 395.1 MB, free: 7.945 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.367, allocations: 217.6 kB / 395.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.3673, allocations: 296.7 kB / 395.6 MB, free: 7.387 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.293e-05/0.3674, allocations: 33.7 kB / 395.6 MB, free: 7.348 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.3675, allocations: 212.5 kB / 395.8 MB, free: 7.137 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.416e-05/0.3676, allocations: 114.4 kB / 395.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/0.3676, allocations: 12 kB / 395.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3678, allocations: 346.8 kB / 396.3 MB, free: 6.664 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.368, allocations: 112.8 kB / 396.4 MB, free: 6.555 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.3683, allocations: 186.7 kB / 396.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.3685, allocations: 188.1 kB / 396.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3685, allocations: 0 / 396.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007882/0.3693, allocations: 0.5134 MB / 397.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.662e-05/0.3694, allocations: 71.34 kB / 397.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3694, allocations: 0 / 397.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005079/0.3699, allocations: 155.3 kB / 397.5 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.3701, allocations: 39.86 kB / 397.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004739/0.3749, allocations: 5.999 MB / 403.5 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/0.3753, allocations: 51.66 kB / 403.6 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/0.3754, allocations: 20.06 kB / 403.6 MB, free: 14.72 MB / 314.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: 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 () * Number of clocked 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.0003044/0.3757, allocations: 201.5 kB / 403.8 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7e-05/0.3758, allocations: 43.53 kB / 403.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.998e-05/0.3759, allocations: 44.06 kB / 403.9 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3759, allocations: 4 kB / 403.9 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.3759, allocations: 0 / 403.9 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3759, allocations: 3.984 kB / 403.9 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004782/0.3764, allocations: 452.9 kB / 404.3 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3764, allocations: 4 kB / 404.3 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.3765, allocations: 19.98 kB / 404.3 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000431/0.377, allocations: 159.3 kB / 404.5 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.377, allocations: 8.062 kB / 404.5 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004617/0.3816, allocations: 5.836 MB / 410.3 MB, free: 7.352 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3817, allocations: 4.031 kB / 410.3 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.3827, allocations: 0.5439 MB / 410.9 MB, free: 6.766 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.3829, allocations: 148.5 kB / 411 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.846e-05/0.383, allocations: 16 kB / 411.1 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.3833, allocations: 31.97 kB / 411.1 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.3834, allocations: 55.92 kB / 411.1 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.3835, allocations: 15.98 kB / 411.2 MB, free: 6.484 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002573/0.3837, allocations: 227.2 kB / 411.4 MB, free: 6.266 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3837, allocations: 0 / 411.4 MB, free: 6.266 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000831/0.3846, allocations: 163.8 kB / 411.5 MB, free: 6.105 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) * Number of clocked states: 0 () * 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.0002507/0.3848, allocations: 135.3 kB / 411.7 MB, free: 5.965 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.3861, allocations: 0.9155 MB / 412.6 MB, free: 4.973 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3861, allocations: 0 / 412.6 MB, free: 4.973 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007186/0.3868, allocations: 0.7207 MB / 413.3 MB, free: 4.188 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.3872, allocations: 77.34 kB / 413.4 MB, free: 4.117 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.3886, allocations: 0.8836 MB / 414.3 MB, free: 3.215 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.389, allocations: 0.8356 MB / 415.1 MB, free: 2.355 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001438/0.3891, allocations: 27.28 kB / 415.1 MB, free: 2.328 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.468e-05/0.3892, allocations: 27.38 kB / 415.2 MB, free: 2.301 MB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/0.3892, allocations: 0 / 415.2 MB, free: 2.301 MB / 314.7 MB Notification: Performance of Templates: time 0.01401/0.4032, allocations: 7.05 MB / 422.2 MB, free: 11.29 MB / 330.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)