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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001516/0.001516, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001836/0.001836, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2613, allocations: 50.54 MB / 408.8 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003723/0.265, allocations: 2.779 MB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.2663, allocations: 0.7401 MB / 412.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.2665, allocations: 4 kB / 412.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.2667, allocations: 43.56 kB / 412.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.2669, allocations: 87.19 kB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.2673, allocations: 115.8 kB / 412.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004127/0.2677, allocations: 390.4 kB / 412.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.2679, allocations: 76.7 kB / 413 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003039/0.2682, allocations: 159.5 kB / 413.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.2685, allocations: 179.3 kB / 413.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.485e-05/0.2685, allocations: 36 kB / 413.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.702e-05/0.2686, allocations: 36 kB / 413.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.933e-05/0.2687, allocations: 67.75 kB / 413.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.2688, allocations: 159.2 kB / 413.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.2692, allocations: 376.4 kB / 414 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2692, allocations: 0 / 414 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2692, allocations: 0 / 414 MB, free: 12.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.2692, allocations: 0 / 414 MB, free: 12.32 MB / 334.1 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.001524/0.2708, allocations: 0.6765 MB / 414.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2708, allocations: 8.031 kB / 414.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.807e-05/0.2709, allocations: 62.66 kB / 414.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.2711, allocations: 40.56 kB / 414.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/0.2714, allocations: 270.7 kB / 415 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.2715, allocations: 12.81 kB / 415 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.877e-05/0.2715, allocations: 24.38 kB / 415.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007606/0.2723, allocations: 313.8 kB / 415.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2723, allocations: 0 / 415.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.2723, allocations: 12 kB / 415.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.2724, allocations: 11.94 kB / 415.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009537/0.2733, allocations: 301.5 kB / 415.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.275, allocations: 0.9608 MB / 416.6 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002854/0.2779, allocations: 0.4943 MB / 417.1 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000669/0.2786, allocations: 216.6 kB / 417.3 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.2786, allocations: 7.984 kB / 417.4 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006226/0.2793, allocations: 244.7 kB / 417.6 MB, free: 8.484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.445e-06/0.2793, allocations: 4 kB / 417.6 MB, free: 8.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001569/0.2809, allocations: 475.8 kB / 418.1 MB, free: 8.012 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.2809, allocations: 114.8 kB / 418.2 MB, free: 7.875 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.2812, allocations: 233 kB / 418.4 MB, free: 7.641 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.2812, allocations: 33.7 kB / 418.4 MB, free: 7.602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.834e-05/0.2813, allocations: 156.2 kB / 418.6 MB, free: 7.445 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.548e-05/0.2814, allocations: 67 kB / 418.7 MB, free: 7.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.2815, allocations: 45.94 kB / 418.7 MB, free: 7.328 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.2816, allocations: 334.8 kB / 419 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004865/0.2821, allocations: 144.4 kB / 419.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004924/0.2826, allocations: 184.2 kB / 419.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009076/0.2835, allocations: 328 kB / 419.7 MB, free: 6.324 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2835, allocations: 0 / 419.7 MB, free: 6.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001226/0.2848, allocations: 414.6 kB / 420.1 MB, free: 5.906 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.2848, allocations: 37.7 kB / 420.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2848, allocations: 0 / 420.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.2849, allocations: 0 / 420.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/0.2866, allocations: 267.7 kB / 420.4 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004908/0.2915, allocations: 3.439 MB / 423.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004152/0.292, allocations: 55.77 kB / 423.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.292, allocations: 11.98 kB / 423.9 MB, free: 1.82 MB / 334.1 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 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,$whenCondition1) * 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002352/0.2923, allocations: 145.7 kB / 424 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-05/0.2924, allocations: 31.78 kB / 424 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.392e-05/0.2924, allocations: 26.17 kB / 424.1 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2924, allocations: 7.938 kB / 424.1 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.2925, allocations: 0 / 424.1 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2925, allocations: 0 / 424.1 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.2944, allocations: 0.911 MB / 425 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.2944, allocations: 4 kB / 425 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/0.2961, allocations: 267.7 kB / 425.3 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.2961, allocations: 0 / 425.3 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.2961, allocations: 7.984 kB / 425.3 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004765/0.3009, allocations: 3.44 MB / 428.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3009, allocations: 0 / 428.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.3025, allocations: 0.6023 MB / 429.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.93e-05/0.3027, allocations: 108.7 kB / 429.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.3027, allocations: 8 kB / 429.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/0.3031, allocations: 35.95 kB / 429.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.683e-05/0.3032, allocations: 39.95 kB / 429.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.3032, allocations: 4 kB / 429.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001639/0.3034, allocations: 172.5 kB / 429.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3034, allocations: 0 / 429.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004931/0.3039, allocations: 83.84 kB / 429.7 MB, free: 11.55 MB / 350.1 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) * 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001829/0.3057, allocations: 1.155 MB / 430.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002554/0.3083, allocations: 0.5771 MB / 431.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3083, allocations: 0 / 431.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001947/0.3102, allocations: 391.7 kB / 431.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.3107, allocations: 36.41 kB / 431.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005916/0.3166, allocations: 3.161 MB / 435.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.3169, allocations: 0.7519 MB / 435.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.3171, allocations: 29.92 kB / 435.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.3172, allocations: 83.34 kB / 435.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of SimCode: time 1.713e-06/0.3172, allocations: 0 / 435.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02725/0.3445, allocations: 6.613 MB / 442.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.67, allocations: 15.08 kB / 442.6 MB, free: 14.75 MB / 366.1 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/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)