Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001299/0.001299, allocations: 108.5 kB / 17.06 MB, free: 5.996 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.001154/0.001154, allocations: 199.9 kB / 18 MB, free: 5.078 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.41/1.41, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001193/0.001193, allocations: 55.92 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1109, allocations: 46.61 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003963/0.1149, allocations: 2.698 MB / 377.2 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.1162, allocations: 0.7446 MB / 377.9 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.1164, allocations: 0 / 377.9 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.1166, allocations: 43.56 kB / 378 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.1167, allocations: 83.27 kB / 378 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.117, allocations: 103.7 kB / 378.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004013/0.1174, allocations: 386.5 kB / 378.5 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.1176, allocations: 88.55 kB / 378.6 MB, free: 428 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.1178, allocations: 151.5 kB / 378.8 MB, free: 276 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.1181, allocations: 167.3 kB / 378.9 MB, free: 108 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.921e-05/0.1181, allocations: 32 kB / 379 MB, free: 76 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.128e-05/0.1182, allocations: 36 kB / 379 MB, free: 40 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2195/0.3377, allocations: 69.38 kB / 379.1 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002429/0.338, allocations: 150.4 kB / 379.2 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004539/0.3385, allocations: 366.4 kB / 379.6 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3385, allocations: 2.188 kB / 379.6 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3385, allocations: 0 / 379.6 MB, free: 10.12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.3385, allocations: 0 / 379.6 MB, free: 10.12 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.001414/0.3399, allocations: 0.6671 MB / 380.2 MB, free: 9.648 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.34, allocations: 13.31 kB / 380.2 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/0.34, allocations: 32.12 kB / 380.3 MB, free: 9.633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.3404, allocations: 269 kB / 380.5 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.3404, allocations: 19.56 kB / 380.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/0.3405, allocations: 21.44 kB / 380.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000732/0.3412, allocations: 306 kB / 380.9 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.3412, allocations: 3.938 kB / 380.9 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.3413, allocations: 10.06 kB / 380.9 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.3413, allocations: 7.812 kB / 380.9 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009075/0.3422, allocations: 290.4 kB / 381.2 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.3438, allocations: 0.9608 MB / 382.1 MB, free: 8.895 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002962/0.3468, allocations: 0.4893 MB / 382.6 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006653/0.3475, allocations: 205.3 kB / 382.8 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.3475, allocations: 8.672 kB / 382.8 MB, free: 8.848 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006682/0.3482, allocations: 242 kB / 383.1 MB, free: 8.773 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.613e-06/0.3482, allocations: 1.25 kB / 383.1 MB, free: 8.773 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001632/0.3499, allocations: 465.6 kB / 383.5 MB, free: 8.711 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.3499, allocations: 111.9 kB / 383.6 MB, free: 8.586 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.3502, allocations: 229.3 kB / 383.9 MB, free: 8.484 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.3502, allocations: 32.02 kB / 383.9 MB, free: 8.453 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.969e-05/0.3503, allocations: 157.2 kB / 384.1 MB, free: 8.348 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.255e-05/0.3504, allocations: 72.16 kB / 384.1 MB, free: 8.305 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.3505, allocations: 50.12 kB / 384.2 MB, free: 8.285 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.738e-05/0.3506, allocations: 337.8 kB / 384.5 MB, free: 7.969 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004874/0.3511, allocations: 135 kB / 384.6 MB, free: 7.969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004941/0.3516, allocations: 183.9 kB / 384.8 MB, free: 7.926 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009154/0.3525, allocations: 324.3 kB / 385.1 MB, free: 7.852 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.3525, allocations: 1.906 kB / 385.1 MB, free: 7.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001091/0.3536, allocations: 399.3 kB / 385.5 MB, free: 7.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.3537, allocations: 36.58 kB / 385.6 MB, free: 7.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3537, allocations: 6.312 kB / 385.6 MB, free: 7.695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3537, allocations: 1.281 kB / 385.6 MB, free: 7.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.3555, allocations: 240.6 kB / 385.8 MB, free: 7.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004052/0.3595, allocations: 3.404 MB / 389.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004588/0.36, allocations: 53.2 kB / 389.3 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.36, allocations: 7.078 kB / 389.3 MB, free: 4.535 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.000182/0.3602, allocations: 143.5 kB / 389.4 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.716e-05/0.3603, allocations: 24.67 kB / 389.4 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.312e-05/0.3604, allocations: 29.67 kB / 389.5 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.768e-06/0.3604, allocations: 4.25 kB / 389.5 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.3604, allocations: 0.5156 kB / 389.5 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.3604, allocations: 9.203 kB / 389.5 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.3622, allocations: 0.8992 MB / 390.4 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3622, allocations: 1.25 kB / 390.4 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/0.3639, allocations: 232.2 kB / 390.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.364, allocations: 2.438 kB / 390.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.364, allocations: 7.984 kB / 390.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003954/0.3679, allocations: 3.408 MB / 394 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.368, allocations: 5.312 kB / 394 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.3695, allocations: 0.5903 MB / 394.6 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.391e-05/0.3696, allocations: 101.7 kB / 394.7 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.3697, allocations: 15.59 kB / 394.7 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.37, allocations: 41.83 kB / 394.8 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.3702, allocations: 29.17 kB / 394.8 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.3702, allocations: 7.078 kB / 394.8 MB, free: 256 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001729/0.3704, allocations: 173.2 kB / 395 MB, free: 148 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3704, allocations: 0 / 395 MB, free: 148 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004977/0.3709, allocations: 75.03 kB / 395 MB, free: 140 kB / 318.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.0001112/0.371, allocations: 113.4 kB / 395.2 MB, free: 40 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002664/0.3737, allocations: 0.5497 MB / 395.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3737, allocations: 1.312 kB / 395.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002016/0.3757, allocations: 355 kB / 396.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.3762, allocations: 41.58 kB / 396.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.3782, allocations: 0.6807 MB / 396.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/0.3787, allocations: 0.75 MB / 397.5 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.3788, allocations: 26.25 kB / 397.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.496e-05/0.3789, allocations: 23.41 kB / 397.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3789, allocations: 0 / 397.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of Templates: time 0.009464/0.3884, allocations: 3.912 MB / 401.5 MB, free: 13.8 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1)