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.001354/0.001354, allocations: 199 kB / 8.767 MB, free: 312 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001074/0.001075, allocations: 95.23 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.077e-05/2.087e-05, allocations: 4 kB / 343.8 MB, free: 8.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1184, allocations: 51.47 MB / 395.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3448/0.4632, allocations: 81.03 MB / 476.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001573/0.4635, allocations: 73.52 kB / 476.4 MB, free: 11.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01352/0.477, allocations: 4.986 MB / 481.3 MB, free: 7.652 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.477, allocations: 3.938 kB / 481.3 MB, free: 7.648 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.477, allocations: 4.656 kB / 481.3 MB, free: 7.645 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.001078/0.4781, allocations: 0.6146 MB / 482 MB, free: 7.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.4782, allocations: 12.02 kB / 482 MB, free: 6.992 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.4783, allocations: 39.62 kB / 482 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.4786, allocations: 252.2 kB / 482.3 MB, free: 6.688 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.4787, allocations: 18.78 kB / 482.3 MB, free: 6.676 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.4787, allocations: 15.91 kB / 482.3 MB, free: 6.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002924/0.479, allocations: 162.9 kB / 482.5 MB, free: 6.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.4793, allocations: 223 kB / 482.7 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4794, allocations: 0 / 482.7 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.4794, allocations: 0 / 482.7 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.4794, allocations: 4 kB / 482.7 MB, free: 6.391 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.4811, allocations: 0.9612 MB / 483.6 MB, free: 5.551 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00253/0.4836, allocations: 476.6 kB / 484.1 MB, free: 5.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.4839, allocations: 145.4 kB / 484.2 MB, free: 5.062 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.4839, allocations: 11.98 kB / 484.3 MB, free: 5.051 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/0.4842, allocations: 182.1 kB / 484.4 MB, free: 4.887 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.653e-06/0.4842, allocations: 0 / 484.4 MB, free: 4.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003731/0.4846, allocations: 192.6 kB / 484.6 MB, free: 4.742 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.4846, allocations: 114.7 kB / 484.7 MB, free: 4.605 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.4848, allocations: 190.7 kB / 484.9 MB, free: 4.445 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.4848, allocations: 33.73 kB / 485 MB, free: 4.406 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.4849, allocations: 159 kB / 485.1 MB, free: 4.277 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/0.4849, allocations: 73.88 kB / 485.2 MB, free: 4.215 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-05/0.485, allocations: 0 / 485.2 MB, free: 4.215 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.232e-05/0.485, allocations: 329.7 kB / 485.5 MB, free: 3.891 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.4852, allocations: 76.03 kB / 485.6 MB, free: 3.848 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.4853, allocations: 104.8 kB / 485.7 MB, free: 3.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.4854, allocations: 75.31 kB / 485.7 MB, free: 3.723 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4854, allocations: 0 / 485.7 MB, free: 3.723 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003576/0.4858, allocations: 243.9 kB / 486 MB, free: 3.547 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.4858, allocations: 33.7 kB / 486 MB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4858, allocations: 0 / 486 MB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.4859, allocations: 0 / 486 MB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002121/0.488, allocations: 339.7 kB / 486.4 MB, free: 3.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003331/0.4913, allocations: 2.952 MB / 489.3 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/0.4917, allocations: 60.02 kB / 489.4 MB, free: 52 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.4918, allocations: 11.48 kB / 489.4 MB, free: 44 kB / 346.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.0001486/0.4919, allocations: 115.5 kB / 489.5 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003357/0.4923, allocations: 201.1 kB / 489.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.4923, allocations: 23.72 kB / 489.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.178e-05/0.4924, allocations: 24.95 kB / 489.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.4924, allocations: 7.953 kB / 489.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4924, allocations: 0.75 kB / 489.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.4924, allocations: 7.922 kB / 489.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.4936, allocations: 0.7361 MB / 490.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4936, allocations: 0 / 490.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00223/0.4958, allocations: 330.9 kB / 490.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.4959, allocations: 0 / 490.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.4959, allocations: 7.953 kB / 490.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004098/0.5, allocations: 2.96 MB / 493.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.5, allocations: 5.625 kB / 493.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000641/0.5007, allocations: 439.3 kB / 494.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.974e-05/0.5008, allocations: 104.2 kB / 494.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.933e-05/0.5008, allocations: 6.797 kB / 494.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.5012, allocations: 52.02 kB / 494.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.509e-05/0.5014, allocations: 30.55 kB / 494.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.5014, allocations: 7.984 kB / 494.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001557/0.5015, allocations: 153.5 kB / 494.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5016, allocations: 0 / 494.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005192/0.5021, allocations: 79.78 kB / 494.6 MB, free: 10.89 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.001204/0.5033, allocations: 1.121 MB / 495.8 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002237/0.5055, allocations: 484 kB / 496.2 MB, free: 9.426 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5056, allocations: 0 / 496.2 MB, free: 9.426 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001882/0.5075, allocations: 338.8 kB / 496.6 MB, free: 9.129 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.5078, allocations: 30 kB / 496.6 MB, free: 9.109 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.5097, allocations: 0.5297 MB / 497.1 MB, free: 8.582 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/0.5102, allocations: 0.7594 MB / 497.9 MB, free: 7.797 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.5103, allocations: 22.06 kB / 497.9 MB, free: 7.777 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.5105, allocations: 78.66 kB / 498 MB, free: 7.75 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.5105, allocations: 0 / 498 MB, free: 7.75 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.537, allocations: 4.764 MB / 0.491 GB, free: 3.07 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/0.5373, allocations: 154.2 kB / 0.4911 GB, free: 2.875 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.382, allocations: 7.969 kB / 0.4911 GB, free: 2.867 MB / 362.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)