Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001755/0.001755, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009954/0.0009956, allocations: 90.92 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.173e-05/3.175e-05, allocations: 0 / 350.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1146, allocations: 51.49 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3647/0.4794, allocations: 81.68 MB / 483.8 MB, free: 7.789 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.4797, allocations: 70.31 kB / 483.9 MB, free: 7.754 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0136/0.4933, allocations: 5.036 MB / 488.9 MB, free: 3.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4933, allocations: 0 / 488.9 MB, free: 3.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.4933, allocations: 4 kB / 488.9 MB, free: 3.477 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.001027/0.4944, allocations: 0.6178 MB / 489.5 MB, free: 2.836 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.4944, allocations: 12.02 kB / 489.5 MB, free: 2.824 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.691e-05/0.4945, allocations: 51.86 kB / 489.6 MB, free: 2.773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.4946, allocations: 44.11 kB / 489.6 MB, free: 2.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.4949, allocations: 256.6 kB / 489.9 MB, free: 2.465 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.495, allocations: 18.67 kB / 489.9 MB, free: 2.457 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.495, allocations: 26.09 kB / 489.9 MB, free: 2.438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.4954, allocations: 245.1 kB / 490.2 MB, free: 2.254 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4954, allocations: 3.984 kB / 490.2 MB, free: 2.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.4954, allocations: 6.438 kB / 490.2 MB, free: 2.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.4955, allocations: 4.688 kB / 490.2 MB, free: 2.246 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.4957, allocations: 178.4 kB / 490.4 MB, free: 2.141 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.4974, allocations: 1.009 MB / 491.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002512/0.4999, allocations: 483.6 kB / 491.8 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.5002, allocations: 153.3 kB / 492 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.5002, allocations: 11.45 kB / 492 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/0.5005, allocations: 182.2 kB / 492.2 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.923e-06/0.5005, allocations: 0 / 492.2 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004024/0.5009, allocations: 216.5 kB / 492.4 MB, free: 420 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.501, allocations: 106.8 kB / 492.5 MB, free: 288 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.5011, allocations: 210.9 kB / 492.7 MB, free: 108 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.5012, allocations: 37.36 kB / 492.7 MB, free: 68 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.5013, allocations: 151.4 kB / 492.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.56e-05/0.5014, allocations: 70.5 kB / 493 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.704e-05/0.5014, allocations: 3.938 kB / 493 MB, free: 15.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5015, allocations: 335.8 kB / 493.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.5017, allocations: 78.91 kB / 493.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.5019, allocations: 110.1 kB / 493.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.502, allocations: 111.5 kB / 493.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.502, allocations: 0 / 493.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004445/0.5025, allocations: 287.1 kB / 493.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.5025, allocations: 29.7 kB / 493.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.5026, allocations: 10.03 kB / 493.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.5026, allocations: 3.953 kB / 493.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00219/0.5048, allocations: 335.4 kB / 494.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004272/0.5091, allocations: 3.046 MB / 497.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004534/0.5095, allocations: 71.83 kB / 497.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.5096, allocations: 14.14 kB / 497.4 MB, free: 11.41 MB / 362.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.000132/0.5097, allocations: 124.9 kB / 497.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.5098, allocations: 23.72 kB / 497.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.558e-05/0.5099, allocations: 29.95 kB / 497.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5099, allocations: 4 kB / 497.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.5099, allocations: 0 / 497.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5099, allocations: 0 / 497.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.5112, allocations: 0.7968 MB / 498.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5112, allocations: 0 / 498.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00224/0.5134, allocations: 327.7 kB / 498.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.5135, allocations: 4 kB / 498.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.5135, allocations: 4 kB / 498.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004197/0.5177, allocations: 3.061 MB / 0.49 GB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.5177, allocations: 11.97 kB / 0.49 GB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006754/0.5184, allocations: 449.3 kB / 0.4904 GB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.414e-05/0.5185, allocations: 105 kB / 0.4905 GB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.5186, allocations: 7.984 kB / 0.4905 GB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/0.519, allocations: 48.83 kB / 0.4906 GB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/0.5191, allocations: 35.89 kB / 0.4906 GB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.5191, allocations: 8 kB / 0.4906 GB, free: 6.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000172/0.5193, allocations: 165.4 kB / 0.4908 GB, free: 5.859 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5193, allocations: 0 / 0.4908 GB, free: 5.859 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004642/0.5197, allocations: 87.84 kB / 0.4908 GB, free: 5.773 MB / 362.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.001007/0.5208, allocations: 1.143 MB / 0.492 GB, free: 4.598 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002272/0.523, allocations: 487.1 kB / 0.4924 GB, free: 4.109 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5231, allocations: 0 / 0.4924 GB, free: 4.109 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001927/0.525, allocations: 347.9 kB / 0.4928 GB, free: 3.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.5253, allocations: 32.42 kB / 0.4928 GB, free: 3.738 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.5268, allocations: 0.5478 MB / 0.4933 GB, free: 3.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.5272, allocations: 0.7558 MB / 0.4941 GB, free: 2.375 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000144/0.5273, allocations: 22.06 kB / 0.4941 GB, free: 2.348 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.5275, allocations: 79.41 kB / 0.4942 GB, free: 2.27 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5275, allocations: 0 / 0.4942 GB, free: 2.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.5452, allocations: 5.49 MB / 0.4995 GB, free: 13.05 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.5454, allocations: 196.5 kB / 0.4997 GB, free: 12.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.379, allocations: 0 / 0.4997 GB, free: 12.82 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1)