Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.007639/0.007639, allocations: 100.9 kB / 15.73 MB, free: 6.473 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.001348/0.001349, allocations: 195 kB / 16.67 MB, free: 6.379 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.469/1.469, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.001154/0.001154, allocations: 46.19 kB / 326.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09569/0.09685, allocations: 46.63 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004408/0.1013, allocations: 2.684 MB / 375.9 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1026, allocations: 0.7524 MB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.1028, allocations: 7.938 kB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.1029, allocations: 39.62 kB / 376.7 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.1031, allocations: 87.2 kB / 376.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.1035, allocations: 99.81 kB / 376.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004311/0.1039, allocations: 386.6 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.1041, allocations: 88.5 kB / 377.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.1044, allocations: 159.4 kB / 377.5 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.1047, allocations: 171.3 kB / 377.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.609e-05/0.1047, allocations: 32 kB / 377.7 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.089e-05/0.1048, allocations: 32 kB / 377.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.616e-05/0.1049, allocations: 71.75 kB / 377.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.105, allocations: 151.2 kB / 377.9 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.1054, allocations: 366.8 kB / 378.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1054, allocations: 0 / 378.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1054, allocations: 0 / 378.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.1055, allocations: 4 kB / 378.3 MB, free: 12.2 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.001509/0.107, allocations: 0.6648 MB / 378.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.107, allocations: 12.03 kB / 378.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8e-05/0.1071, allocations: 28.56 kB / 379 MB, free: 11.44 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.1075, allocations: 272.6 kB / 379.2 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.1075, allocations: 12.81 kB / 379.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.208e-05/0.1076, allocations: 28.31 kB / 379.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007272/0.1083, allocations: 314 kB / 379.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1083, allocations: 0 / 379.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.806e-05/0.1084, allocations: 4 kB / 379.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.1084, allocations: 8 kB / 379.6 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008986/0.1093, allocations: 297.5 kB / 379.9 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.1111, allocations: 0.9568 MB / 380.8 MB, free: 9.441 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002746/0.1138, allocations: 498.1 kB / 381.3 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006322/0.1145, allocations: 212.7 kB / 381.5 MB, free: 8.734 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/0.1145, allocations: 4 kB / 381.5 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005612/0.1151, allocations: 242 kB / 381.8 MB, free: 8.473 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.1151, allocations: 0 / 381.8 MB, free: 8.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001401/0.1165, allocations: 461.6 kB / 382.2 MB, free: 8.016 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.473e-05/0.1166, allocations: 110.8 kB / 382.3 MB, free: 7.883 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.1169, allocations: 233.1 kB / 382.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.117, allocations: 29.7 kB / 382.6 MB, free: 7.613 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.1171, allocations: 160.2 kB / 382.8 MB, free: 7.453 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.485e-05/0.1172, allocations: 67 kB / 382.8 MB, free: 7.387 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.1173, allocations: 57.83 kB / 382.9 MB, free: 7.324 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1175, allocations: 330.8 kB / 383.2 MB, free: 6.992 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004678/0.118, allocations: 144.4 kB / 383.3 MB, free: 6.852 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004786/0.1185, allocations: 176.2 kB / 383.5 MB, free: 6.668 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00086/0.1193, allocations: 316 kB / 383.8 MB, free: 6.344 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1194, allocations: 4 kB / 383.8 MB, free: 6.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001075/0.1204, allocations: 402.8 kB / 384.2 MB, free: 5.934 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.956e-05/0.1205, allocations: 37.64 kB / 384.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.1205, allocations: 0 / 384.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.1206, allocations: 3.984 kB / 384.3 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.1223, allocations: 247.6 kB / 384.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004787/0.1271, allocations: 3.392 MB / 387.9 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/0.1275, allocations: 43.8 kB / 387.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.1275, allocations: 16.09 kB / 387.9 MB, free: 1.922 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.0002173/0.1277, allocations: 145.9 kB / 388.1 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.1278, allocations: 23.72 kB / 388.1 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.809e-05/0.1278, allocations: 30.17 kB / 388.1 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1279, allocations: 4 kB / 388.1 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1279, allocations: 0 / 388.1 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1279, allocations: 3.938 kB / 388.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.1296, allocations: 0.9047 MB / 389.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1296, allocations: 0 / 389.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/0.1313, allocations: 235.8 kB / 389.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.1313, allocations: 0 / 389.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.1313, allocations: 7.984 kB / 389.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004482/0.1358, allocations: 3.416 MB / 392.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1359, allocations: 0 / 392.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.1373, allocations: 0.5983 MB / 393.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.178e-05/0.1374, allocations: 104.8 kB / 393.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.1374, allocations: 11.94 kB / 393.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.1378, allocations: 35.95 kB / 393.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.488e-05/0.1379, allocations: 23.97 kB / 393.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.1379, allocations: 16.05 kB / 393.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.138, allocations: 164.5 kB / 393.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.138, allocations: 0 / 393.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004761/0.1385, allocations: 76 kB / 393.7 MB, free: 11.75 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.0001342/0.1387, allocations: 127 kB / 393.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002445/0.1411, allocations: 0.538 MB / 394.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1411, allocations: 0 / 394.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001888/0.143, allocations: 359.8 kB / 394.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.1434, allocations: 40.34 kB / 394.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.145, allocations: 0.673 MB / 395.5 MB, free: 9.965 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.1453, allocations: 0.7518 MB / 396.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.1454, allocations: 21.95 kB / 396.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.095e-05/0.1455, allocations: 23.44 kB / 396.3 MB, free: 9.145 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1455, allocations: 0 / 396.3 MB, free: 9.145 MB / 334.1 MB Notification: Performance of Templates: time 0.007823/0.1534, allocations: 3.783 MB / 400 MB, free: 5.355 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1)