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.001343/0.001343, allocations: 109.5 kB / 17.06 MB, free: 5.992 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.001227/0.001227, allocations: 196 kB / 18.01 MB, free: 5.074 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.42/1.42, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.00159/0.00159, allocations: 51.92 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1331, allocations: 46.61 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.005184/0.1383, allocations: 2.706 MB / 377.2 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.1396, allocations: 0.7369 MB / 377.9 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1398, allocations: 3.938 kB / 377.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.1399, allocations: 43.62 kB / 378 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.1401, allocations: 91.2 kB / 378.1 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.1404, allocations: 99.8 kB / 378.2 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003813/0.1408, allocations: 382.5 kB / 378.5 MB, free: 500 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.141, allocations: 88.55 kB / 378.6 MB, free: 412 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.1412, allocations: 151.5 kB / 378.8 MB, free: 260 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.1414, allocations: 171.3 kB / 378.9 MB, free: 88 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.725e-05/0.1415, allocations: 32 kB / 379 MB, free: 56 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.935e-05/0.1415, allocations: 36 kB / 379 MB, free: 20 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1951/0.3367, allocations: 66.27 kB / 379.1 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.337, allocations: 159.2 kB / 379.2 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000602/0.3376, allocations: 358.9 kB / 379.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3376, allocations: 3.375 kB / 379.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3376, allocations: 1.969 kB / 379.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3376, allocations: 0 / 379.6 MB, free: 10.11 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.001536/0.3392, allocations: 0.674 MB / 380.2 MB, free: 9.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.3392, allocations: 12.47 kB / 380.3 MB, free: 9.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.49e-05/0.3393, allocations: 32.75 kB / 380.3 MB, free: 9.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.3397, allocations: 272.2 kB / 380.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.3398, allocations: 13.72 kB / 380.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/0.3398, allocations: 20.31 kB / 380.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007575/0.3406, allocations: 311 kB / 380.9 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3406, allocations: 7.594 kB / 380.9 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.3407, allocations: 6.594 kB / 380.9 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.3407, allocations: 3.75 kB / 380.9 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009077/0.3416, allocations: 292.9 kB / 381.2 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.3434, allocations: 0.9632 MB / 382.2 MB, free: 8.867 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002727/0.3461, allocations: 0.4893 MB / 382.7 MB, free: 8.836 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006911/0.3468, allocations: 215.6 kB / 382.9 MB, free: 8.824 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.3469, allocations: 3.766 kB / 382.9 MB, free: 8.824 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006477/0.3475, allocations: 239.6 kB / 383.1 MB, free: 8.746 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.3475, allocations: 0 / 383.1 MB, free: 8.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001543/0.3491, allocations: 469 kB / 383.6 MB, free: 8.684 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.3492, allocations: 114.1 kB / 383.7 MB, free: 8.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.3494, allocations: 233.5 kB / 383.9 MB, free: 8.453 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.3495, allocations: 30.95 kB / 383.9 MB, free: 8.422 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.852e-05/0.3496, allocations: 159.6 kB / 384.1 MB, free: 8.316 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.3496, allocations: 71.39 kB / 384.2 MB, free: 8.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.3497, allocations: 49.34 kB / 384.2 MB, free: 8.254 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.206e-05/0.3498, allocations: 333.7 kB / 384.5 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004782/0.3503, allocations: 137.9 kB / 384.7 MB, free: 7.938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005608/0.3509, allocations: 184.3 kB / 384.8 MB, free: 7.895 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008817/0.3518, allocations: 311.8 kB / 385.1 MB, free: 7.832 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3518, allocations: 8.734 kB / 385.2 MB, free: 7.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00106/0.3528, allocations: 407.7 kB / 385.6 MB, free: 7.703 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.3529, allocations: 41 kB / 385.6 MB, free: 7.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3529, allocations: 0 / 385.6 MB, free: 7.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3529, allocations: 2.188 kB / 385.6 MB, free: 7.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.3545, allocations: 241 kB / 385.8 MB, free: 7.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003793/0.3583, allocations: 3.397 MB / 389.2 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003896/0.3587, allocations: 54.45 kB / 389.3 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.3587, allocations: 12.7 kB / 389.3 MB, free: 4.504 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.0001606/0.3589, allocations: 145.7 kB / 389.4 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/0.359, allocations: 24 kB / 389.5 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.795e-05/0.359, allocations: 30.8 kB / 389.5 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.359, allocations: 3.031 kB / 389.5 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.359, allocations: 0.6562 kB / 389.5 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3591, allocations: 2.547 kB / 389.5 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.3608, allocations: 0.8956 MB / 390.4 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-06/0.3608, allocations: 1.609 kB / 390.4 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/0.3624, allocations: 232.4 kB / 390.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.3624, allocations: 2 kB / 390.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.3625, allocations: 7.703 kB / 390.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00372/0.3662, allocations: 3.413 MB / 394 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3662, allocations: 0 / 394 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.3678, allocations: 0.5953 MB / 394.6 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.3678, allocations: 104.6 kB / 394.7 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.3679, allocations: 10.66 kB / 394.7 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.3682, allocations: 40.08 kB / 394.8 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.3683, allocations: 32.02 kB / 394.8 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.3684, allocations: 6.891 kB / 394.8 MB, free: 228 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001674/0.3686, allocations: 170.7 kB / 395 MB, free: 120 kB / 318.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3686, allocations: 0 / 395 MB, free: 120 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005013/0.3691, allocations: 82.92 kB / 395.1 MB, free: 104 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.000138/0.3692, allocations: 106.1 kB / 395.2 MB, free: 12 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002683/0.3719, allocations: 0.56 MB / 395.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3719, allocations: 0 / 395.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002018/0.3739, allocations: 361.8 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.0004319/0.3744, allocations: 39.27 kB / 396.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.3763, allocations: 0.6881 MB / 396.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.3767, allocations: 0.7501 MB / 397.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.3768, allocations: 31.16 kB / 397.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.749e-05/0.3769, allocations: 19.81 kB / 397.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3769, allocations: 0 / 397.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of Templates: time 0.009653/0.3866, allocations: 3.786 MB / 401.4 MB, free: 13.86 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)