Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.006634/0.006634, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001152/0.001152, allocations: 197.3 kB / 16.68 MB, free: 5.93 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.489/1.489, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.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.001075/0.001075, allocations: 50.7 kB / 326.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1016, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004202/0.1058, allocations: 2.684 MB / 375.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1071, allocations: 0.7484 MB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.1072, allocations: 4 kB / 376.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.1074, allocations: 43.56 kB / 376.7 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.1075, allocations: 91.25 kB / 376.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.1079, allocations: 99.75 kB / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004008/0.1083, allocations: 386.6 kB / 377.2 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.1085, allocations: 88.5 kB / 377.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.1087, allocations: 151.5 kB / 377.5 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.109, allocations: 171.3 kB / 377.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.347e-05/0.109, allocations: 32 kB / 377.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.12e-05/0.1091, allocations: 32 kB / 377.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.46e-05/0.1092, allocations: 75.73 kB / 377.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.1093, allocations: 159.2 kB / 377.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.1097, allocations: 362.8 kB / 378.3 MB, free: 12.19 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1097, allocations: 4 kB / 378.3 MB, free: 12.19 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1097, allocations: 0 / 378.3 MB, free: 12.19 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1097, allocations: 0 / 378.3 MB, free: 12.19 MB / 318.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.001603/0.1113, allocations: 0.6609 MB / 378.9 MB, free: 11.47 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1114, allocations: 8.031 kB / 378.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.164e-05/0.1115, allocations: 32.56 kB / 379 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.1119, allocations: 280.5 kB / 379.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.1119, allocations: 16.81 kB / 379.3 MB, free: 11.1 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.263e-05/0.112, allocations: 24.38 kB / 379.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007482/0.1128, allocations: 310 kB / 379.6 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1128, allocations: 0 / 379.6 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.1128, allocations: 4 kB / 379.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.1128, allocations: 4 kB / 379.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009162/0.1138, allocations: 297.5 kB / 379.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.1154, allocations: 0.9607 MB / 380.8 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002793/0.1182, allocations: 0.4953 MB / 381.3 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006225/0.1188, allocations: 208.7 kB / 381.5 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.1188, allocations: 4 kB / 381.5 MB, free: 8.715 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006192/0.1195, allocations: 242 kB / 381.8 MB, free: 8.457 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.814e-06/0.1195, allocations: 0 / 381.8 MB, free: 8.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001541/0.121, allocations: 465.6 kB / 382.2 MB, free: 7.996 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.555e-05/0.1211, allocations: 106.8 kB / 382.3 MB, free: 7.867 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.1213, allocations: 229 kB / 382.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.1214, allocations: 29.7 kB / 382.6 MB, free: 7.602 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.1215, allocations: 156.2 kB / 382.7 MB, free: 7.445 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.119e-05/0.1216, allocations: 74.98 kB / 382.8 MB, free: 7.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.1217, allocations: 53.84 kB / 382.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1219, allocations: 334.8 kB / 383.2 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004953/0.1224, allocations: 132.4 kB / 383.3 MB, free: 6.848 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005019/0.1229, allocations: 184.2 kB / 383.5 MB, free: 6.656 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009178/0.1238, allocations: 320 kB / 383.8 MB, free: 6.328 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1238, allocations: 0 / 383.8 MB, free: 6.328 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001088/0.1249, allocations: 402.8 kB / 384.2 MB, free: 5.922 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/0.125, allocations: 33.64 kB / 384.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.125, allocations: 8.062 kB / 384.3 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.125, allocations: 0 / 384.3 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/0.1267, allocations: 235.6 kB / 384.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004431/0.1311, allocations: 3.396 MB / 387.9 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003678/0.1315, allocations: 55.98 kB / 387.9 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.1315, allocations: 11.98 kB / 387.9 MB, free: 1.91 MB / 318.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.0001628/0.1317, allocations: 145.9 kB / 388.1 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.1318, allocations: 23.72 kB / 388.1 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.846e-05/0.1318, allocations: 30.17 kB / 388.1 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1318, allocations: 4 kB / 388.1 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1319, allocations: 7.938 kB / 388.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1319, allocations: 3.938 kB / 388.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.1336, allocations: 0.9008 MB / 389.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1336, allocations: 0 / 389.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/0.1352, allocations: 231.7 kB / 389.3 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1352, allocations: 0 / 389.3 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.1352, allocations: 8 kB / 389.3 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004577/0.1398, allocations: 3.416 MB / 392.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1398, allocations: 0 / 392.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.1414, allocations: 0.5905 MB / 393.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-05/0.1415, allocations: 108.8 kB / 393.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.1415, allocations: 7.938 kB / 393.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/0.1419, allocations: 40.02 kB / 393.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.565e-05/0.142, allocations: 31.95 kB / 393.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.142, allocations: 7.984 kB / 393.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001773/0.1422, allocations: 168.5 kB / 393.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1422, allocations: 0 / 393.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004811/0.1427, allocations: 79.98 kB / 393.7 MB, free: 11.73 MB / 334.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.0001761/0.1429, allocations: 119 kB / 393.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002491/0.1454, allocations: 0.538 MB / 394.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1454, allocations: 0 / 394.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001892/0.1473, allocations: 359.8 kB / 394.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.1477, allocations: 40.36 kB / 394.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.1495, allocations: 0.6691 MB / 395.5 MB, free: 9.961 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.15, allocations: 0.7518 MB / 396.2 MB, free: 9.184 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.1501, allocations: 25.94 kB / 396.2 MB, free: 9.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.464e-05/0.1502, allocations: 23.44 kB / 396.3 MB, free: 9.137 MB / 334.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1502, allocations: 0 / 396.3 MB, free: 9.137 MB / 334.1 MB Notification: Performance of Templates: time 0.00772/0.1579, allocations: 3.779 MB / 400 MB, free: 5.352 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1)