Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002344/0.002344, allocations: 179.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.2 MB / 240.3 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009946/0.0009945, allocations: 89.91 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.0003219, allocations: 8 kB / 351.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2745, allocations: 50.42 MB / 401.6 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1059/0.3804, allocations: 80.96 MB / 482.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.3807, allocations: 71.97 kB / 482.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01518/0.3959, allocations: 4.96 MB / 487.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.396, allocations: 0 / 487.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.396, allocations: 4 kB / 487.6 MB, free: 10.46 MB / 362.7 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.0014/0.3974, allocations: 0.6457 MB / 488.2 MB, free: 9.758 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3974, allocations: 8.031 kB / 488.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.508e-05/0.3975, allocations: 58.55 kB / 488.3 MB, free: 9.684 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.303e-05/0.3976, allocations: 31.62 kB / 488.3 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.398, allocations: 259.4 kB / 488.6 MB, free: 9.355 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.398, allocations: 12.44 kB / 488.6 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.82e-05/0.398, allocations: 27.98 kB / 488.6 MB, free: 9.316 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007395/0.3988, allocations: 329.6 kB / 488.9 MB, free: 8.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3988, allocations: 4 kB / 488.9 MB, free: 8.977 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.3989, allocations: 12 kB / 488.9 MB, free: 8.965 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.3989, allocations: 4 kB / 489 MB, free: 8.961 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009278/0.3998, allocations: 329.5 kB / 489.3 MB, free: 8.641 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.4018, allocations: 1.023 MB / 490.3 MB, free: 7.551 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00344/0.4052, allocations: 0.6154 MB / 490.9 MB, free: 6.926 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.925e-05/0.4053, allocations: 7.984 kB / 490.9 MB, free: 6.918 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006625/0.406, allocations: 261.8 kB / 491.2 MB, free: 6.645 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.054e-06/0.406, allocations: 0 / 491.2 MB, free: 6.645 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.001528/0.4075, allocations: 0.5266 MB / 491.7 MB, free: 6.113 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.4076, allocations: 81.44 kB / 491.8 MB, free: 6.016 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.4078, allocations: 208.2 kB / 492 MB, free: 5.809 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.4078, allocations: 29.7 kB / 492 MB, free: 5.773 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.408, allocations: 156.2 kB / 492.2 MB, free: 5.617 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.215e-05/0.4081, allocations: 71.02 kB / 492.2 MB, free: 5.547 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.892e-05/0.4081, allocations: 4 kB / 492.2 MB, free: 5.543 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.4082, allocations: 338.8 kB / 492.6 MB, free: 5.203 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/0.4087, allocations: 164.4 kB / 492.7 MB, free: 5.039 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005154/0.4093, allocations: 201 kB / 492.9 MB, free: 4.836 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000473/0.4097, allocations: 199 kB / 493.1 MB, free: 4.637 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4097, allocations: 0 / 493.1 MB, free: 4.637 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001067/0.4108, allocations: 448.6 kB / 493.6 MB, free: 4.188 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/0.4109, allocations: 41.64 kB / 493.6 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4109, allocations: 0 / 493.6 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.4109, allocations: 0 / 493.6 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002337/0.4133, allocations: 335.6 kB / 493.9 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005362/0.4186, allocations: 3.279 MB / 497.2 MB, free: 276 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/0.4192, allocations: 67.92 kB / 497.3 MB, free: 208 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.4192, allocations: 8 kB / 497.3 MB, free: 200 kB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002154/0.4194, allocations: 144.7 kB / 497.4 MB, free: 48 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.4195, allocations: 23.81 kB / 497.4 MB, free: 24 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.658e-05/0.4196, allocations: 30.27 kB / 497.5 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.4196, allocations: 11.94 kB / 497.5 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.4196, allocations: 0 / 497.5 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4196, allocations: 0 / 497.5 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.42, allocations: 345.2 kB / 497.8 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.42, allocations: 0 / 497.8 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002409/0.4224, allocations: 331.7 kB / 498.1 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.4224, allocations: 0 / 498.1 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.4225, allocations: 0 / 498.1 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004944/0.4274, allocations: 3.284 MB / 0.4897 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4274, allocations: 0 / 0.4897 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.4289, allocations: 0.5965 MB / 0.4903 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.005e-05/0.429, allocations: 108.7 kB / 0.4904 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.4291, allocations: 4 kB / 0.4904 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003668/0.4295, allocations: 56.02 kB / 0.4904 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.729e-05/0.4296, allocations: 27.95 kB / 0.4905 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.4296, allocations: 8 kB / 0.4905 GB, free: 10.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001611/0.4298, allocations: 168.5 kB / 0.4906 GB, free: 10.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.824e-06/0.4298, allocations: 0 / 0.4906 GB, free: 10.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004416/0.4302, allocations: 91.78 kB / 0.4907 GB, free: 10.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001806/0.432, allocations: 1.153 MB / 0.4918 GB, free: 9.457 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002956/0.435, allocations: 0.6473 MB / 0.4925 GB, free: 8.797 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.435, allocations: 0 / 0.4925 GB, free: 8.797 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002356/0.4374, allocations: 426.6 kB / 0.4929 GB, free: 8.383 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.4377, allocations: 36.3 kB / 0.4929 GB, free: 8.348 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004009/0.4418, allocations: 2.085 MB / 0.4949 GB, free: 6.211 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.4421, allocations: 0.7599 MB / 0.4957 GB, free: 5.422 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.4423, allocations: 21.94 kB / 0.4957 GB, free: 5.402 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.4424, allocations: 79.41 kB / 0.4958 GB, free: 5.324 MB / 378.7 MB Notification: Performance of SimCode: time 1.884e-06/0.4424, allocations: 4 kB / 0.4958 GB, free: 5.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.4617, allocations: 5.499 MB / 0.5012 GB, free: 44 kB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2443/0.706, allocations: 210.8 kB / 0.5014 GB, free: 106.4 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/2.768, allocations: 0 / 0.5014 GB, free: 106.4 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1)