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.008496/0.008496, allocations: 102.5 kB / 15.73 MB, free: 6.047 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: 196.8 kB / 16.68 MB, free: 5.961 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.505/1.505, allocations: 205.1 MB / 222.5 MB, free: 4.398 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.001246/0.001246, allocations: 56.05 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09257/0.09382, allocations: 46.62 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003911/0.09777, allocations: 2.696 MB / 375.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.09932, allocations: 0.7368 MB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002404/0.09958, allocations: 7.938 kB / 376.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.09982, allocations: 39.62 kB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.1001, allocations: 83.2 kB / 376.7 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004322/0.1005, allocations: 107.8 kB / 376.8 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005457/0.1011, allocations: 382.5 kB / 377.2 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.1013, allocations: 92.48 kB / 377.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000325/0.1017, allocations: 151.5 kB / 377.5 MB, free: 12.99 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.102, allocations: 171.3 kB / 377.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.269e-05/0.102, allocations: 32 kB / 377.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.273e-05/0.1021, allocations: 32 kB / 377.7 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.639e-05/0.1022, allocations: 67.75 kB / 377.7 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.1024, allocations: 159.2 kB / 377.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.1028, allocations: 366.8 kB / 378.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1028, allocations: 0 / 378.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1028, allocations: 0 / 378.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.1028, allocations: 4 kB / 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.00152/0.1043, allocations: 0.6609 MB / 378.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1044, allocations: 12.03 kB / 378.9 MB, free: 11.44 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.193e-05/0.1045, allocations: 28.56 kB / 379 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.1049, allocations: 276.5 kB / 379.2 MB, free: 11.1 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.1049, allocations: 16.81 kB / 379.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.7e-05/0.1049, allocations: 20.38 kB / 379.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007192/0.1057, allocations: 314 kB / 379.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1057, allocations: 0 / 379.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.1057, allocations: 4 kB / 379.6 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.1057, allocations: 8 kB / 379.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000911/0.1066, allocations: 301.4 kB / 379.9 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.1083, allocations: 0.9607 MB / 380.8 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002665/0.1109, allocations: 498.2 kB / 381.3 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005911/0.1115, allocations: 204.7 kB / 381.5 MB, free: 8.711 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.1116, allocations: 8 kB / 381.5 MB, free: 8.703 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005906/0.1122, allocations: 242 kB / 381.8 MB, free: 8.445 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.1122, allocations: 0 / 381.8 MB, free: 8.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001433/0.1136, allocations: 461.6 kB / 382.2 MB, free: 7.988 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.1137, allocations: 110.8 kB / 382.3 MB, free: 7.855 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.1139, allocations: 233 kB / 382.6 MB, free: 7.621 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.114, allocations: 29.69 kB / 382.6 MB, free: 7.586 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.1141, allocations: 160.2 kB / 382.7 MB, free: 7.426 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.838e-05/0.1141, allocations: 75 kB / 382.8 MB, free: 7.352 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.762e-05/0.1142, allocations: 49.84 kB / 382.9 MB, free: 7.297 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1144, allocations: 330.8 kB / 383.2 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004507/0.1148, allocations: 140.4 kB / 383.3 MB, free: 6.828 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/0.1153, allocations: 180.2 kB / 383.5 MB, free: 6.641 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008618/0.1162, allocations: 316 kB / 383.8 MB, free: 6.316 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1162, allocations: 4 kB / 383.8 MB, free: 6.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001044/0.1172, allocations: 402.8 kB / 384.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/0.1173, allocations: 37.64 kB / 384.3 MB, free: 5.863 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.1173, allocations: 4 kB / 384.3 MB, free: 5.859 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1173, allocations: 0 / 384.3 MB, free: 5.859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.1189, allocations: 243.6 kB / 384.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004295/0.1232, allocations: 3.396 MB / 387.9 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003693/0.1236, allocations: 47.8 kB / 387.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.1237, allocations: 20.08 kB / 388 MB, free: 1.887 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.0001674/0.1238, allocations: 141.9 kB / 388.1 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.1239, allocations: 23.72 kB / 388.1 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.779e-05/0.124, allocations: 26.17 kB / 388.1 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.124, allocations: 4 kB / 388.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.124, allocations: 0 / 388.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.124, allocations: 3.938 kB / 388.1 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.126, allocations: 0.9086 MB / 389.1 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.126, allocations: 0 / 389.1 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/0.1277, allocations: 231.8 kB / 389.3 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.1278, allocations: 0 / 389.3 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.1278, allocations: 12 kB / 389.3 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005126/0.1329, allocations: 3.412 MB / 392.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.133, allocations: 0 / 392.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.1346, allocations: 0.5944 MB / 393.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.1347, allocations: 108.8 kB / 393.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.1348, allocations: 11.94 kB / 393.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.1351, allocations: 31.95 kB / 393.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.1352, allocations: 27.97 kB / 393.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.1353, allocations: 12.05 kB / 393.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.1355, allocations: 168.5 kB / 393.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1355, allocations: 0 / 393.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005075/0.136, allocations: 79.98 kB / 393.7 MB, free: 11.71 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.0001906/0.1362, allocations: 119 kB / 393.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002603/0.1388, allocations: 0.538 MB / 394.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1388, allocations: 0 / 394.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001887/0.1407, allocations: 359.8 kB / 394.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.1411, allocations: 40.36 kB / 394.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.1429, allocations: 0.6807 MB / 395.5 MB, free: 9.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.1433, allocations: 0.7557 MB / 396.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001242/0.1434, allocations: 17.95 kB / 396.2 MB, free: 9.137 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.577e-05/0.1435, allocations: 27.44 kB / 396.3 MB, free: 9.109 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1435, allocations: 0 / 396.3 MB, free: 9.109 MB / 334.1 MB Notification: Performance of Templates: time 0.00749/0.151, allocations: 3.9 MB / 400.2 MB, free: 5.203 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)