Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0014/0.0014, allocations: 171.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.2 MB / 219.8 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008173/0.0008172, allocations: 98.62 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.618e-05/2.619e-05, allocations: 4 kB / 322.5 MB, free: 17.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08555/0.08559, allocations: 47.57 MB / 370.1 MB, free: 1.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3046/0.3902, allocations: 79.21 MB / 449.3 MB, free: 13.71 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.3905, allocations: 66.03 kB / 449.4 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01468/0.4052, allocations: 4.796 MB / 454.2 MB, free: 9.535 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.486e-06/0.4052, allocations: 0 / 454.2 MB, free: 9.535 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.4053, allocations: 6.078 kB / 454.2 MB, free: 9.531 MB / 330.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.001216/0.4065, allocations: 0.5987 MB / 454.8 MB, free: 8.898 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.4066, allocations: 12.03 kB / 454.8 MB, free: 8.887 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.639e-05/0.4066, allocations: 54.03 kB / 454.9 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.778e-05/0.4067, allocations: 31.62 kB / 454.9 MB, free: 8.805 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.4071, allocations: 261.9 kB / 455.1 MB, free: 8.531 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.4071, allocations: 12.19 kB / 455.2 MB, free: 8.523 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.096e-05/0.4071, allocations: 27.67 kB / 455.2 MB, free: 8.504 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004267/0.4076, allocations: 246.5 kB / 455.4 MB, free: 8.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.4076, allocations: 0 / 455.4 MB, free: 8.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.4076, allocations: 7.875 kB / 455.4 MB, free: 8.316 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.4077, allocations: 7.938 kB / 455.4 MB, free: 8.309 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.408, allocations: 175.1 kB / 455.6 MB, free: 8.207 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.4098, allocations: 1.014 MB / 456.6 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002672/0.4125, allocations: 486.5 kB / 457.1 MB, free: 6.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.4128, allocations: 147.4 kB / 457.2 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.4129, allocations: 8.328 kB / 457.2 MB, free: 6.805 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003113/0.4132, allocations: 189.6 kB / 457.4 MB, free: 6.633 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.4132, allocations: 0 / 457.4 MB, free: 6.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.000481/0.4137, allocations: 206.8 kB / 457.6 MB, free: 6.477 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.4138, allocations: 110.2 kB / 457.7 MB, free: 6.348 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.414, allocations: 209.6 kB / 457.9 MB, free: 6.168 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.414, allocations: 29.02 kB / 458 MB, free: 6.137 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.4141, allocations: 170.4 kB / 458.1 MB, free: 5.996 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.687e-05/0.4142, allocations: 64.52 kB / 458.2 MB, free: 5.941 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.4142, allocations: 7.156 kB / 458.2 MB, free: 5.938 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4144, allocations: 335.4 kB / 458.5 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.4145, allocations: 81.14 kB / 458.6 MB, free: 5.559 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.4147, allocations: 114.7 kB / 458.7 MB, free: 5.473 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.4149, allocations: 106 kB / 458.8 MB, free: 5.395 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4149, allocations: 4.031 kB / 458.8 MB, free: 5.391 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004386/0.4153, allocations: 288.4 kB / 459.1 MB, free: 5.164 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.4154, allocations: 29.7 kB / 459.1 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4154, allocations: 3.938 kB / 459.2 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.4154, allocations: 11.95 kB / 459.2 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002272/0.4177, allocations: 339.3 kB / 459.5 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004331/0.422, allocations: 3.045 MB / 462.5 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004526/0.4225, allocations: 63.67 kB / 462.6 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.4226, allocations: 11.56 kB / 462.6 MB, free: 1.52 MB / 330.7 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 ($whenCondition1,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * Number of discrete 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.0001335/0.4227, allocations: 116.6 kB / 462.7 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.4228, allocations: 27.67 kB / 462.8 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.563e-05/0.4228, allocations: 31.77 kB / 462.8 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4228, allocations: 4 kB / 462.8 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.4229, allocations: 0 / 462.8 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.4229, allocations: 3.984 kB / 462.8 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.4241, allocations: 0.7952 MB / 463.6 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4242, allocations: 0 / 463.6 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002252/0.4264, allocations: 327.7 kB / 463.9 MB, free: 288 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4264, allocations: 3.938 kB / 463.9 MB, free: 284 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.4265, allocations: 8 kB / 463.9 MB, free: 276 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004269/0.4307, allocations: 3.049 MB / 467 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.4308, allocations: 3.953 kB / 467 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006647/0.4314, allocations: 458.8 kB / 467.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.772e-05/0.4315, allocations: 96.84 kB / 467.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.4316, allocations: 11.94 kB / 467.5 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004007/0.432, allocations: 56.02 kB / 467.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.51e-05/0.4321, allocations: 27.95 kB / 467.6 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.4321, allocations: 8 kB / 467.6 MB, free: 12.26 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001593/0.4323, allocations: 169.4 kB / 467.8 MB, free: 12.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4323, allocations: 0 / 467.8 MB, free: 12.1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004936/0.4328, allocations: 83.84 kB / 467.9 MB, free: 12.02 MB / 346.7 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) * 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.001069/0.4339, allocations: 1.14 MB / 469 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002283/0.4362, allocations: 491.1 kB / 469.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4362, allocations: 0 / 469.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001969/0.4382, allocations: 339.9 kB / 469.8 MB, free: 10.01 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.4385, allocations: 36.41 kB / 469.8 MB, free: 9.977 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.4401, allocations: 0.5282 MB / 470.4 MB, free: 9.406 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.4404, allocations: 0.7635 MB / 471.1 MB, free: 8.613 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001416/0.4406, allocations: 22.08 kB / 471.2 MB, free: 8.594 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.4407, allocations: 87.41 kB / 471.2 MB, free: 8.508 MB / 346.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4407, allocations: 0 / 471.2 MB, free: 8.508 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.4596, allocations: 5.521 MB / 476.8 MB, free: 2.984 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.4599, allocations: 196.3 kB / 477 MB, free: 2.754 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.253, allocations: 0 / 477 MB, free: 2.754 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1)