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.001149/0.001149, allocations: 181.8 kB / 17.01 MB, free: 5.121 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.47/1.47, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0008722/0.0008723, allocations: 98.53 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000266/0.000266, allocations: 8 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2578, allocations: 47.57 MB / 375.9 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1038/0.3617, allocations: 79.31 MB / 455.2 MB, free: 1.332 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.362, allocations: 67.97 kB / 455.3 MB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01468/0.3767, allocations: 4.787 MB / 460.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3767, allocations: 0 / 460.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.3767, allocations: 8 kB / 460.1 MB, free: 12.46 MB / 346.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.3781, allocations: 0.6417 MB / 460.7 MB, free: 11.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.3782, allocations: 8.031 kB / 460.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.798e-05/0.3783, allocations: 62.52 kB / 460.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.673e-05/0.3784, allocations: 35.62 kB / 460.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.3787, allocations: 251.7 kB / 461.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.3788, allocations: 16.44 kB / 461.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.049e-05/0.3788, allocations: 23.94 kB / 461.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007541/0.3796, allocations: 325.7 kB / 461.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3796, allocations: 7.938 kB / 461.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.3797, allocations: 4 kB / 461.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.3797, allocations: 4 kB / 461.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009344/0.3806, allocations: 333.5 kB / 461.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.3826, allocations: 1.02 MB / 462.8 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003553/0.3861, allocations: 0.6237 MB / 463.4 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.3862, allocations: 0 / 463.4 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006455/0.3868, allocations: 258.9 kB / 463.7 MB, free: 8.652 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.3868, allocations: 0 / 463.7 MB, free: 8.652 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.001547/0.3884, allocations: 0.5305 MB / 464.2 MB, free: 8.117 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.3885, allocations: 81.11 kB / 464.3 MB, free: 8.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.3887, allocations: 208.2 kB / 464.5 MB, free: 7.812 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.3887, allocations: 29.7 kB / 464.5 MB, free: 7.777 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.3889, allocations: 160.2 kB / 464.7 MB, free: 7.617 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.814e-05/0.3889, allocations: 74.98 kB / 464.7 MB, free: 7.543 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/0.389, allocations: 0 / 464.7 MB, free: 7.543 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3891, allocations: 338.8 kB / 465.1 MB, free: 7.203 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004898/0.3896, allocations: 164.4 kB / 465.2 MB, free: 7.039 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005076/0.3901, allocations: 196.2 kB / 465.4 MB, free: 6.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004895/0.3906, allocations: 186.6 kB / 465.6 MB, free: 6.652 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3906, allocations: 0 / 465.6 MB, free: 6.652 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001125/0.3918, allocations: 462.8 kB / 466.1 MB, free: 6.191 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.807e-05/0.3918, allocations: 29.7 kB / 466.1 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3918, allocations: 0 / 466.1 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3919, allocations: 7.953 kB / 466.1 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002532/0.3944, allocations: 339.6 kB / 466.4 MB, free: 5.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005389/0.3998, allocations: 3.279 MB / 469.7 MB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004904/0.4003, allocations: 63.73 kB / 469.8 MB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.4004, allocations: 8 kB / 469.8 MB, free: 2.199 MB / 346.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.0001922/0.4006, allocations: 143.2 kB / 469.9 MB, free: 2.051 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.4006, allocations: 23.77 kB / 469.9 MB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.027e-05/0.4007, allocations: 30.17 kB / 470 MB, free: 2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4007, allocations: 4 kB / 470 MB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4007, allocations: 0 / 470 MB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4007, allocations: 7.922 kB / 470 MB, free: 1.988 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003638/0.4011, allocations: 345.3 kB / 470.3 MB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.4011, allocations: 3.953 kB / 470.3 MB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002441/0.4035, allocations: 323.7 kB / 470.6 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.4036, allocations: 0 / 470.6 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.4036, allocations: 15.92 kB / 470.6 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005355/0.409, allocations: 3.275 MB / 473.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.409, allocations: 4 kB / 473.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.4107, allocations: 0.605 MB / 474.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.4108, allocations: 104.8 kB / 474.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.4109, allocations: 4 kB / 474.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.4112, allocations: 52.02 kB / 474.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.4114, allocations: 27.95 kB / 474.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.4114, allocations: 8 kB / 474.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001851/0.4116, allocations: 168.5 kB / 474.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4116, allocations: 0 / 474.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004605/0.4121, allocations: 87.84 kB / 475 MB, free: 12.64 MB / 362.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.001942/0.414, allocations: 1.147 MB / 476.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003022/0.417, allocations: 0.6512 MB / 476.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.4171, allocations: 0 / 476.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002454/0.4195, allocations: 427.6 kB / 477.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.4199, allocations: 30.39 kB / 477.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/0.424, allocations: 2.091 MB / 479.3 MB, free: 8.211 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.4244, allocations: 0.7521 MB / 480.1 MB, free: 7.434 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.4246, allocations: 25.94 kB / 480.1 MB, free: 7.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.4247, allocations: 79.41 kB / 480.2 MB, free: 7.332 MB / 362.7 MB Notification: Performance of SimCode: time 1.934e-06/0.4247, allocations: 0 / 480.2 MB, free: 7.332 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.4438, allocations: 5.495 MB / 485.7 MB, free: 1.867 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002454/0.4441, allocations: 219.2 kB / 485.9 MB, free: 1.625 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.343, allocations: 0 / 485.9 MB, free: 1.625 MB / 362.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)