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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 98.56 kB / 16.5 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.1 MB / 223.3 MB, free: 12.37 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 47.94 kB / 279.3 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09735/0.0986, allocations: 46.64 MB / 326 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004649/0.1033, allocations: 2.741 MB / 328.7 MB, free: 2.121 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.1049, allocations: 0.7411 MB / 329.4 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.1051, allocations: 7.938 kB / 329.4 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.1053, allocations: 31.77 kB / 329.5 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.1055, allocations: 71.39 kB / 329.5 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.1058, allocations: 91.91 kB / 329.6 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.1061, allocations: 354.5 kB / 330 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.1063, allocations: 73.12 kB / 330.1 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.1065, allocations: 139.4 kB / 330.2 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.1067, allocations: 155.4 kB / 330.3 MB, free: 480 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.498e-05/0.1068, allocations: 20 kB / 330.4 MB, free: 460 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.277e-05/0.1068, allocations: 20 kB / 330.4 MB, free: 440 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.689e-05/0.1069, allocations: 59.75 kB / 330.4 MB, free: 380 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.1071, allocations: 147.2 kB / 330.6 MB, free: 232 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.1074, allocations: 343.1 kB / 330.9 MB, free: 15.89 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.1074, allocations: 3.938 kB / 330.9 MB, free: 15.89 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1074, allocations: 0 / 330.9 MB, free: 15.89 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1075, allocations: 4 kB / 330.9 MB, free: 15.88 MB / 286.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.001762/0.1092, allocations: 0.6687 MB / 331.6 MB, free: 15.16 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.1093, allocations: 12.03 kB / 331.6 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.337e-05/0.1094, allocations: 28.56 kB / 331.6 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.1097, allocations: 268.6 kB / 331.9 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.1097, allocations: 16.81 kB / 331.9 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.1098, allocations: 24.36 kB / 331.9 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007423/0.1106, allocations: 314 kB / 332.2 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1106, allocations: 0 / 332.2 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.1106, allocations: 8 kB / 332.3 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.1106, allocations: 4 kB / 332.3 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008727/0.1115, allocations: 293.5 kB / 332.5 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.1132, allocations: 0.9685 MB / 333.5 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002974/0.1162, allocations: 0.4982 MB / 334 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006061/0.1168, allocations: 208.7 kB / 334.2 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.1168, allocations: 7.984 kB / 334.2 MB, free: 12.4 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006541/0.1175, allocations: 237.7 kB / 334.5 MB, free: 12.14 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.753e-06/0.1175, allocations: 0 / 334.5 MB, free: 12.14 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001406/0.1189, allocations: 465.4 kB / 334.9 MB, free: 11.68 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.119, allocations: 106.8 kB / 335 MB, free: 11.55 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.1192, allocations: 233 kB / 335.2 MB, free: 11.32 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.1192, allocations: 37.64 kB / 335.3 MB, free: 11.27 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.691e-05/0.1193, allocations: 160.2 kB / 335.4 MB, free: 11.11 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/0.1194, allocations: 63.02 kB / 335.5 MB, free: 11.05 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.1195, allocations: 49.92 kB / 335.5 MB, free: 11 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1197, allocations: 334.8 kB / 335.9 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/0.1201, allocations: 140.4 kB / 336 MB, free: 10.52 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004559/0.1206, allocations: 180.2 kB / 336.2 MB, free: 10.34 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008461/0.1214, allocations: 319.9 kB / 336.5 MB, free: 10.01 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1215, allocations: 0 / 336.5 MB, free: 10.01 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001009/0.1225, allocations: 406.8 kB / 336.9 MB, free: 9.598 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.1225, allocations: 33.64 kB / 336.9 MB, free: 9.559 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.1225, allocations: 4 kB / 336.9 MB, free: 9.555 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1226, allocations: 0 / 336.9 MB, free: 9.555 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.1243, allocations: 239.7 kB / 337.2 MB, free: 9.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004201/0.1285, allocations: 3.107 MB / 340.3 MB, free: 5.945 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003578/0.1289, allocations: 59.92 kB / 340.3 MB, free: 5.887 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.1289, allocations: 7.984 kB / 340.3 MB, free: 5.879 MB / 286.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 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001428/0.1291, allocations: 141.8 kB / 340.5 MB, free: 5.73 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.1291, allocations: 23.72 kB / 340.5 MB, free: 5.707 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.778e-05/0.1292, allocations: 38.11 kB / 340.5 MB, free: 5.672 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.1292, allocations: 3.938 kB / 340.5 MB, free: 5.668 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.1292, allocations: 4 kB / 340.5 MB, free: 5.664 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1292, allocations: 4 kB / 340.5 MB, free: 5.66 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.1309, allocations: 0.8894 MB / 341.4 MB, free: 4.707 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1309, allocations: 0 / 341.4 MB, free: 4.707 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001739/0.1326, allocations: 231.7 kB / 341.7 MB, free: 4.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1326, allocations: 0 / 341.7 MB, free: 4.48 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.1327, allocations: 8 kB / 341.7 MB, free: 4.473 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004128/0.1368, allocations: 3.114 MB / 344.8 MB, free: 1.098 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1368, allocations: 4.031 kB / 344.8 MB, free: 1.094 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.1383, allocations: 0.5983 MB / 345.4 MB, free: 484 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.1383, allocations: 100.8 kB / 345.5 MB, free: 364 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.1384, allocations: 8 kB / 345.5 MB, free: 356 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.1387, allocations: 35.95 kB / 345.5 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.089e-05/0.1388, allocations: 39.88 kB / 345.6 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.1389, allocations: 4 kB / 345.6 MB, free: 276 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.139, allocations: 176.5 kB / 345.7 MB, free: 96 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.139, allocations: 0 / 345.7 MB, free: 96 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004588/0.1395, allocations: 79.84 kB / 345.8 MB, free: 16 kB / 286.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) * Number of clocked states: 0 () * 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001419/0.1397, allocations: 103.2 kB / 345.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002512/0.1422, allocations: 0.5418 MB / 346.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1422, allocations: 4 kB / 346.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001963/0.1442, allocations: 343.8 kB / 346.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.1446, allocations: 45.55 kB / 346.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.1463, allocations: 0.7538 MB / 347.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.1465, allocations: 0.7523 MB / 348.4 MB, free: 13.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000143/0.1467, allocations: 29.92 kB / 348.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.108e-05/0.1468, allocations: 19.44 kB / 348.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of SimCode: time 1.453e-06/0.1468, allocations: 0 / 348.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of Templates: time 0.007346/0.1541, allocations: 3.443 MB / 351.8 MB, free: 9.922 MB / 302.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)