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.001043/0.001043, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 227.2 MB / 245 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000863/0.0008629, allocations: 99.16 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002133/0.0002133, allocations: 4 kB / 358 MB, free: 9.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1793, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08656/0.2659, allocations: 81.75 MB / 491.2 MB, free: 8.836 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000184/0.2661, allocations: 72.66 kB / 491.3 MB, free: 8.766 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01423/0.2803, allocations: 5.051 MB / 496.4 MB, free: 3.699 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.614e-06/0.2803, allocations: 0 / 496.4 MB, free: 3.699 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.2804, allocations: 8 kB / 496.4 MB, free: 3.691 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.00117/0.2815, allocations: 0.6418 MB / 497 MB, free: 2.996 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2816, allocations: 12.03 kB / 497 MB, free: 2.984 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.405e-05/0.2817, allocations: 54.53 kB / 497.1 MB, free: 2.922 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.2818, allocations: 43.62 kB / 497.1 MB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.2821, allocations: 267.5 kB / 497.4 MB, free: 2.574 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.2821, allocations: 16.44 kB / 497.4 MB, free: 2.559 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.2822, allocations: 20 kB / 497.4 MB, free: 2.539 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000709/0.2829, allocations: 329.7 kB / 497.7 MB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2829, allocations: 0 / 497.7 MB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.283, allocations: 4 kB / 497.7 MB, free: 2.199 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.283, allocations: 8 kB / 497.8 MB, free: 2.191 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008986/0.2839, allocations: 341.5 kB / 498.1 MB, free: 1.859 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.2857, allocations: 1.004 MB / 499.1 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003507/0.2892, allocations: 0.6271 MB / 499.7 MB, free: 152 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.2892, allocations: 4 kB / 499.7 MB, free: 148 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006153/0.2898, allocations: 265.9 kB / 500 MB, free: 15.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.743e-06/0.2898, allocations: 0 / 500 MB, free: 15.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.001458/0.2913, allocations: 0.5266 MB / 0.4888 GB, free: 15.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.2914, allocations: 81.11 kB / 0.4889 GB, free: 15.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.2916, allocations: 204.2 kB / 0.4891 GB, free: 15.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.2916, allocations: 37.64 kB / 0.4891 GB, free: 14.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.872e-05/0.2917, allocations: 160.2 kB / 0.4892 GB, free: 14.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.363e-05/0.2918, allocations: 67 kB / 0.4893 GB, free: 14.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.919e-05/0.2918, allocations: 8 kB / 0.4893 GB, free: 14.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.2919, allocations: 334.8 kB / 0.4896 GB, free: 14.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004732/0.2924, allocations: 164.3 kB / 0.4898 GB, free: 14.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004785/0.2929, allocations: 199.3 kB / 0.49 GB, free: 14.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000482/0.2934, allocations: 190.6 kB / 0.4902 GB, free: 13.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2934, allocations: 0 / 0.4902 GB, free: 13.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00107/0.2945, allocations: 458.1 kB / 0.4906 GB, free: 13.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.2945, allocations: 29.7 kB / 0.4906 GB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2945, allocations: 0 / 0.4906 GB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.2946, allocations: 7.953 kB / 0.4906 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/0.2971, allocations: 335.7 kB / 0.491 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004911/0.302, allocations: 3.279 MB / 0.4942 GB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004211/0.3024, allocations: 63.77 kB / 0.4942 GB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.3025, allocations: 12 kB / 0.4942 GB, free: 9.414 MB / 378.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.0001687/0.3026, allocations: 147.8 kB / 0.4944 GB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.3027, allocations: 19.81 kB / 0.4944 GB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.351e-05/0.3028, allocations: 30.17 kB / 0.4944 GB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.3028, allocations: 4 kB / 0.4944 GB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.3028, allocations: 0 / 0.4944 GB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3028, allocations: 0 / 0.4944 GB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.3031, allocations: 349.2 kB / 0.4948 GB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3031, allocations: 7.938 kB / 0.4948 GB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002448/0.3056, allocations: 323.6 kB / 0.4951 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.3056, allocations: 4 kB / 0.4951 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.3056, allocations: 7.938 kB / 0.4951 GB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004743/0.3104, allocations: 3.28 MB / 0.4983 GB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3104, allocations: 3.938 kB / 0.4983 GB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.3119, allocations: 0.5972 MB / 0.4989 GB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.312, allocations: 100.9 kB / 0.499 GB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.312, allocations: 4.062 kB / 0.499 GB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.3124, allocations: 51.95 kB / 0.499 GB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.68e-05/0.3125, allocations: 27.95 kB / 0.499 GB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.3125, allocations: 15.98 kB / 0.4991 GB, free: 4.113 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001421/0.3126, allocations: 164.5 kB / 0.4992 GB, free: 3.953 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3126, allocations: 0 / 0.4992 GB, free: 3.953 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004104/0.3131, allocations: 87.77 kB / 0.4993 GB, free: 3.867 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.001736/0.3148, allocations: 1.152 MB / 0.5004 GB, free: 2.684 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002897/0.3177, allocations: 0.65 MB / 0.5011 GB, free: 2.023 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3177, allocations: 0 / 0.5011 GB, free: 2.023 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00236/0.3201, allocations: 423.6 kB / 0.5015 GB, free: 1.609 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.3204, allocations: 47.83 kB / 0.5015 GB, free: 1.566 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1477/0.4681, allocations: 2.079 MB / 0.5035 GB, free: 96.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.4683, allocations: 0.7587 MB / 0.5043 GB, free: 95.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001637/0.4685, allocations: 21.17 kB / 0.5043 GB, free: 95.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.4686, allocations: 80.08 kB / 0.5044 GB, free: 95.89 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.4686, allocations: 0 / 0.5044 GB, free: 95.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0163/0.4849, allocations: 5.471 MB / 0.5097 GB, free: 95.68 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001299/0.4851, allocations: 225.9 kB / 0.5099 GB, free: 95.44 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.173, allocations: 0 / 0.5099 GB, free: 95.44 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)