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.0105/0.0105, allocations: 106.2 kB / 15.74 MB, free: 6.039 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.00173/0.00173, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.634/1.634, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001528/0.001528, allocations: 50.98 kB / 326.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1071, allocations: 46.61 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004147/0.1114, allocations: 2.699 MB / 375.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1126, allocations: 0.7407 MB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.1128, allocations: 4 kB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.1129, allocations: 39.58 kB / 376.7 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.1131, allocations: 95.2 kB / 376.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.1134, allocations: 103.8 kB / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.1138, allocations: 378.6 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.114, allocations: 88.48 kB / 377.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.1142, allocations: 155.4 kB / 377.5 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.1144, allocations: 167.3 kB / 377.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.269e-05/0.1145, allocations: 36 kB / 377.7 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.913e-05/0.1146, allocations: 32 kB / 377.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.876e-05/0.1147, allocations: 71.8 kB / 377.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.1148, allocations: 159.2 kB / 377.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.1152, allocations: 362.8 kB / 378.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1152, allocations: 0 / 378.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1152, allocations: 0 / 378.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1152, 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.001497/0.1167, allocations: 0.6687 MB / 378.9 MB, free: 11.47 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.1168, allocations: 8.031 kB / 378.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.309e-05/0.1168, allocations: 36.5 kB / 379 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.1172, allocations: 268.6 kB / 379.2 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.1172, allocations: 16.81 kB / 379.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.005e-05/0.1173, allocations: 20.38 kB / 379.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/0.118, allocations: 310 kB / 379.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.118, allocations: 8 kB / 379.6 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.1181, allocations: 12 kB / 379.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1181, allocations: 4 kB / 379.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009152/0.119, allocations: 289.5 kB / 379.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.1206, allocations: 0.9685 MB / 380.9 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002845/0.1234, allocations: 0.4903 MB / 381.3 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006239/0.1241, allocations: 212.7 kB / 381.6 MB, free: 8.715 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1241, allocations: 8 kB / 381.6 MB, free: 8.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006008/0.1247, allocations: 234.1 kB / 381.8 MB, free: 8.457 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.1247, allocations: 0 / 381.8 MB, free: 8.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001468/0.1262, allocations: 461.6 kB / 382.2 MB, free: 8 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.1263, allocations: 106.8 kB / 382.3 MB, free: 7.871 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.1265, allocations: 233 kB / 382.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.1265, allocations: 33.7 kB / 382.6 MB, free: 7.598 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.1267, allocations: 160.2 kB / 382.8 MB, free: 7.438 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.004e-05/0.1267, allocations: 70.94 kB / 382.8 MB, free: 7.367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.98e-05/0.1268, allocations: 53.83 kB / 382.9 MB, free: 7.309 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.127, allocations: 338.8 kB / 383.2 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004751/0.1275, allocations: 136.3 kB / 383.3 MB, free: 6.836 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/0.128, allocations: 176.2 kB / 383.5 MB, free: 6.652 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008949/0.1289, allocations: 316 kB / 383.8 MB, free: 6.328 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1289, allocations: 3.938 kB / 383.8 MB, free: 6.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001066/0.1299, allocations: 406.8 kB / 384.2 MB, free: 5.914 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.799e-05/0.13, allocations: 33.64 kB / 384.3 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.13, allocations: 0 / 384.3 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.13, allocations: 4 kB / 384.3 MB, free: 5.871 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/0.1317, allocations: 239.8 kB / 384.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004562/0.1363, allocations: 3.396 MB / 387.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.1367, allocations: 55.95 kB / 387.9 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.1367, allocations: 4 kB / 388 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.0001792/0.1369, allocations: 149.8 kB / 388.1 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.137, allocations: 27.7 kB / 388.1 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.935e-05/0.137, allocations: 30.19 kB / 388.2 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.137, allocations: 0 / 388.2 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.137, allocations: 4 kB / 388.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.1371, allocations: 11.92 kB / 388.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.1388, allocations: 0.8892 MB / 389.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1388, allocations: 8 kB / 389.1 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/0.1405, allocations: 235.6 kB / 389.3 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1405, allocations: 0 / 389.3 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.1405, allocations: 8 kB / 389.3 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004531/0.1451, allocations: 3.42 MB / 392.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1451, allocations: 0 / 392.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.1466, allocations: 0.5866 MB / 393.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.1466, allocations: 100.7 kB / 393.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.1467, allocations: 15.92 kB / 393.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/0.1471, allocations: 48.02 kB / 393.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.895e-05/0.1472, allocations: 27.97 kB / 393.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1472, allocations: 4 kB / 393.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.1473, allocations: 172.5 kB / 393.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1473, allocations: 0 / 393.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004267/0.1478, allocations: 68 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.0001534/0.1479, allocations: 123 kB / 393.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002462/0.1504, allocations: 0.5458 MB / 394.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1504, allocations: 0 / 394.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001923/0.1524, allocations: 347.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.0003848/0.1528, allocations: 40.34 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.001638/0.1544, allocations: 0.6808 MB / 395.5 MB, free: 9.949 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.1547, allocations: 0.748 MB / 396.2 MB, free: 9.176 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.1548, allocations: 25.94 kB / 396.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.432e-05/0.1549, allocations: 19.44 kB / 396.3 MB, free: 9.133 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1549, allocations: 0 / 396.3 MB, free: 9.133 MB / 334.1 MB Notification: Performance of Templates: time 0.007104/0.162, allocations: 3.783 MB / 400 MB, free: 5.344 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)