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.009694/0.009694, allocations: 98.53 kB / 15.73 MB, free: 6.004 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.002271/0.002272, allocations: 192.9 kB / 16.67 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.622/1.622, allocations: 205.1 MB / 222.5 MB, free: 4.297 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.001161/0.001161, allocations: 50.23 kB / 326.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1022, allocations: 46.63 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003758/0.106, allocations: 2.699 MB / 375.9 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1072, allocations: 0.7407 MB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.1073, allocations: 4 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.1075, allocations: 43.56 kB / 376.7 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.1076, allocations: 83.27 kB / 376.7 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.1079, allocations: 111.7 kB / 376.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003506/0.1083, allocations: 378.6 kB / 377.2 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.1085, allocations: 84.55 kB / 377.3 MB, free: 13.13 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.1087, allocations: 151.5 kB / 377.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.1089, allocations: 171.3 kB / 377.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.1089, allocations: 35.94 kB / 377.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.641e-05/0.109, allocations: 36 kB / 377.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.1091, allocations: 63.81 kB / 377.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.1092, allocations: 151.2 kB / 377.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.1096, allocations: 370.5 kB / 378.3 MB, free: 12.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1096, allocations: 0 / 378.3 MB, free: 12.17 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1096, allocations: 0 / 378.3 MB, free: 12.17 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1096, allocations: 0 / 378.3 MB, free: 12.17 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.001465/0.1111, allocations: 0.684 MB / 378.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1111, allocations: 8.031 kB / 379 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.1112, allocations: 36.73 kB / 379 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.1116, allocations: 272.7 kB / 379.3 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.1116, allocations: 12.81 kB / 379.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.1116, allocations: 20.38 kB / 379.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007231/0.1124, allocations: 310 kB / 379.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1124, allocations: 7.938 kB / 379.6 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.1124, allocations: 8 kB / 379.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1124, allocations: 4 kB / 379.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009088/0.1133, allocations: 305.5 kB / 379.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.115, allocations: 0.9649 MB / 380.9 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00276/0.1177, allocations: 498.2 kB / 381.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005997/0.1184, allocations: 209.1 kB / 381.6 MB, free: 8.676 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.1184, allocations: 0 / 381.6 MB, free: 8.676 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006229/0.119, allocations: 245.6 kB / 381.8 MB, free: 8.414 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.353e-06/0.119, allocations: 0 / 381.8 MB, free: 8.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001462/0.1205, allocations: 465.7 kB / 382.3 MB, free: 7.953 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.1206, allocations: 106.8 kB / 382.4 MB, free: 7.824 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.1208, allocations: 237 kB / 382.6 MB, free: 7.586 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.1208, allocations: 33.7 kB / 382.6 MB, free: 7.547 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.1209, allocations: 156.4 kB / 382.8 MB, free: 7.391 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/0.121, allocations: 75.36 kB / 382.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.1211, allocations: 45.94 kB / 382.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1213, allocations: 330.8 kB / 383.2 MB, free: 6.934 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004726/0.1217, allocations: 144.4 kB / 383.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004677/0.1222, allocations: 180.2 kB / 383.5 MB, free: 6.605 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008832/0.1231, allocations: 308 kB / 383.8 MB, free: 6.289 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1231, allocations: 0 / 383.8 MB, free: 6.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00105/0.1242, allocations: 410.9 kB / 384.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.1242, allocations: 37.64 kB / 384.3 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1242, allocations: 0 / 384.3 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1242, allocations: 4 kB / 384.3 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/0.1259, allocations: 243.6 kB / 384.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004424/0.1303, allocations: 3.396 MB / 387.9 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.1307, allocations: 51.83 kB / 388 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/0.1307, allocations: 11.98 kB / 388 MB, free: 1.859 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.000153/0.1309, allocations: 150 kB / 388.1 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.131, allocations: 23.86 kB / 388.1 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.491e-05/0.131, allocations: 30.17 kB / 388.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.131, allocations: 7.938 kB / 388.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.131, allocations: 0 / 388.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.131, allocations: 0 / 388.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.1327, allocations: 0.8971 MB / 389.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1327, allocations: 4 kB / 389.1 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/0.1343, allocations: 235.7 kB / 389.3 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.1343, allocations: 4 kB / 389.3 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.1344, allocations: 0 / 389.3 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004943/0.1393, allocations: 3.412 MB / 392.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1394, allocations: 11.91 kB / 392.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.1409, allocations: 0.5946 MB / 393.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.271e-05/0.141, allocations: 100.9 kB / 393.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.1411, allocations: 11.94 kB / 393.4 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.1415, allocations: 43.95 kB / 393.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.1416, allocations: 23.97 kB / 393.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.1416, allocations: 12.05 kB / 393.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001893/0.1418, allocations: 176.4 kB / 393.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1418, allocations: 0 / 393.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005267/0.1424, allocations: 79.89 kB / 393.8 MB, free: 11.67 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.0001874/0.1426, allocations: 111.1 kB / 393.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002574/0.1451, allocations: 0.542 MB / 394.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1452, allocations: 0 / 394.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001883/0.147, allocations: 359.8 kB / 394.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.1475, allocations: 36.36 kB / 394.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.1492, allocations: 0.6839 MB / 395.5 MB, free: 9.891 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.1495, allocations: 0.748 MB / 396.2 MB, free: 9.117 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.1497, allocations: 21.95 kB / 396.3 MB, free: 9.098 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.268e-05/0.1497, allocations: 23.44 kB / 396.3 MB, free: 9.074 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1498, allocations: 0 / 396.3 MB, free: 9.074 MB / 334.1 MB Notification: Performance of Templates: time 0.008209/0.158, allocations: 3.787 MB / 400.1 MB, free: 5.281 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)