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.001001/0.001001, allocations: 88.14 kB / 16.65 MB, free: 6.535 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.001136/0.001136, allocations: 173.5 kB / 17.56 MB, free: 6.184 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.533/1.533, allocations: 205.4 MB / 223.7 MB, free: 13.05 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.0004913/0.0004915, allocations: 12 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09575/0.09625, allocations: 47.58 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002607/0.0989, allocations: 2.386 MB / 330.7 MB, free: 1.352 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.1001, allocations: 0.7295 MB / 331.4 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.8e-05/0.1002, allocations: 3.938 kB / 331.4 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.1003, allocations: 31.75 kB / 331.5 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.1005, allocations: 71.41 kB / 331.5 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.1007, allocations: 91.89 kB / 331.6 MB, free: 428 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.101, allocations: 354.5 kB / 332 MB, free: 72 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.1012, allocations: 81.17 kB / 332 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.1014, allocations: 127.4 kB / 332.2 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.1016, allocations: 155.3 kB / 332.3 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.1017, allocations: 16 kB / 332.3 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.986e-05/0.1017, allocations: 16 kB / 332.4 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.1018, allocations: 47.77 kB / 332.4 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.1019, allocations: 168.9 kB / 332.6 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.1022, allocations: 339 kB / 332.9 MB, free: 15.14 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1022, allocations: 4 kB / 332.9 MB, free: 15.13 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1023, allocations: 0 / 332.9 MB, free: 15.13 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1023, allocations: 4 kB / 332.9 MB, free: 15.13 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.001363/0.1036, allocations: 0.6532 MB / 333.6 MB, free: 14.42 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.1037, allocations: 12.03 kB / 333.6 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.521e-05/0.1038, allocations: 28.66 kB / 333.6 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.104, allocations: 264.6 kB / 333.9 MB, free: 14.08 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.1041, allocations: 16.81 kB / 333.9 MB, free: 14.06 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.76e-05/0.1041, allocations: 24.36 kB / 333.9 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007392/0.1049, allocations: 342 kB / 334.2 MB, free: 13.69 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1049, allocations: 0 / 334.2 MB, free: 13.69 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.1049, allocations: 11.94 kB / 334.2 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.105, allocations: 4 kB / 334.2 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009461/0.1059, allocations: 333.5 kB / 334.6 MB, free: 13.35 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.1075, allocations: 0.9997 MB / 335.6 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/0.1104, allocations: 0.5998 MB / 336.2 MB, free: 11.68 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006242/0.1111, allocations: 244.7 kB / 336.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.1111, allocations: 7.984 kB / 336.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006309/0.1118, allocations: 257.7 kB / 336.7 MB, free: 11.15 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.1118, allocations: 0 / 336.7 MB, free: 11.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001528/0.1133, allocations: 0.5248 MB / 337.2 MB, free: 10.62 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.1134, allocations: 106.8 kB / 337.3 MB, free: 10.49 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.1136, allocations: 237 kB / 337.5 MB, free: 10.25 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.1136, allocations: 29.7 kB / 337.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.838e-05/0.1137, allocations: 160.2 kB / 337.7 MB, free: 10.05 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.551e-05/0.1138, allocations: 63.02 kB / 337.8 MB, free: 9.992 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/0.1139, allocations: 29.7 kB / 337.8 MB, free: 9.957 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.114, allocations: 338.8 kB / 338.1 MB, free: 9.617 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004851/0.1145, allocations: 160.4 kB / 338.3 MB, free: 9.461 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004939/0.115, allocations: 200.2 kB / 338.5 MB, free: 9.254 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009223/0.1159, allocations: 364 kB / 338.8 MB, free: 8.883 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1159, allocations: 3.938 kB / 338.9 MB, free: 8.879 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0011/0.117, allocations: 450.8 kB / 339.3 MB, free: 8.426 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.1171, allocations: 37.64 kB / 339.3 MB, free: 8.383 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1171, allocations: 0 / 339.3 MB, free: 8.383 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1171, allocations: 0 / 339.3 MB, free: 8.383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/0.1189, allocations: 315.7 kB / 339.6 MB, free: 8.074 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004279/0.1232, allocations: 3.212 MB / 342.8 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003765/0.1236, allocations: 71.91 kB / 342.9 MB, free: 4.523 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.1236, allocations: 16 kB / 342.9 MB, free: 4.508 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.0001492/0.1238, allocations: 137.8 kB / 343.1 MB, free: 4.363 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.1238, allocations: 23.72 kB / 343.1 MB, free: 4.34 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.516e-05/0.1239, allocations: 30.17 kB / 343.1 MB, free: 4.312 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.1239, allocations: 11.92 kB / 343.1 MB, free: 4.301 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.1239, allocations: 0 / 343.1 MB, free: 4.301 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1239, allocations: 0 / 343.1 MB, free: 4.301 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.1256, allocations: 0.9557 MB / 344.1 MB, free: 3.281 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1257, allocations: 4.062 kB / 344.1 MB, free: 3.277 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/0.1274, allocations: 299.7 kB / 344.4 MB, free: 2.984 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1274, allocations: 0 / 344.4 MB, free: 2.984 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.1274, allocations: 11.98 kB / 344.4 MB, free: 2.973 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004249/0.1317, allocations: 3.232 MB / 347.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1317, allocations: 0 / 347.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.1333, allocations: 0.6686 MB / 348.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.1333, allocations: 96.77 kB / 348.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.1334, allocations: 15.98 kB / 348.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.1337, allocations: 52.02 kB / 348.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/0.1338, allocations: 27.91 kB / 348.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.1339, allocations: 8 kB / 348.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.134, allocations: 168.5 kB / 348.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.134, allocations: 4 kB / 348.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004432/0.1345, allocations: 83.84 kB / 348.7 MB, free: 14.32 MB / 302.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.0001401/0.1346, allocations: 111.2 kB / 348.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002573/0.1372, allocations: 0.6472 MB / 349.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1372, allocations: 0 / 349.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002023/0.1392, allocations: 439.8 kB / 349.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.1397, allocations: 45.55 kB / 350 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.1414, allocations: 0.8278 MB / 350.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.1417, allocations: 0.7485 MB / 351.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001381/0.1419, allocations: 21.95 kB / 351.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.693e-05/0.142, allocations: 19.44 kB / 351.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.142, allocations: 3.938 kB / 351.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Templates: time 0.007656/0.1496, allocations: 3.415 MB / 355 MB, free: 7.98 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)