Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009527/0.0009527, allocations: 174.6 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 94.14 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.711e-05, allocations: 8 kB / 337.1 MB, free: 9.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 50.41 MB / 387.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3889/0.5057, allocations: 80.23 MB / 467.8 MB, free: 14.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.506, allocations: 71.95 kB / 467.9 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01534/0.5213, allocations: 4.917 MB / 472.8 MB, free: 9.555 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5214, allocations: 0 / 472.8 MB, free: 9.555 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.5214, allocations: 4 kB / 472.8 MB, free: 9.551 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.001208/0.5227, allocations: 0.6105 MB / 473.4 MB, free: 8.891 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.5227, allocations: 12.02 kB / 473.4 MB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.885e-05/0.5228, allocations: 31.62 kB / 473.4 MB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.5231, allocations: 247.8 kB / 473.7 MB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.5232, allocations: 11.94 kB / 473.7 MB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.5232, allocations: 12 kB / 473.7 MB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000325/0.5235, allocations: 172.8 kB / 473.9 MB, free: 8.371 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.5239, allocations: 220.9 kB / 474.1 MB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.5239, allocations: 0 / 474.1 MB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.524, allocations: 0 / 474.1 MB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.524, allocations: 4 kB / 474.1 MB, free: 8.141 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.5258, allocations: 0.9683 MB / 475.1 MB, free: 7.117 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/0.5284, allocations: 471.3 kB / 475.5 MB, free: 6.648 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/0.5287, allocations: 142.2 kB / 475.7 MB, free: 6.508 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.5288, allocations: 8 kB / 475.7 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003159/0.5291, allocations: 179.1 kB / 475.8 MB, free: 6.301 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 3.406e-06/0.5291, allocations: 3.984 kB / 475.8 MB, free: 6.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004318/0.5295, allocations: 195.2 kB / 476 MB, free: 6.102 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.5296, allocations: 106.8 kB / 476.1 MB, free: 5.973 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.5298, allocations: 196 kB / 476.3 MB, free: 5.777 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.5299, allocations: 25.7 kB / 476.4 MB, free: 5.746 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.53, allocations: 168.3 kB / 476.5 MB, free: 5.578 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.159e-05/0.5301, allocations: 70.98 kB / 476.6 MB, free: 5.508 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.74e-05/0.5301, allocations: 0 / 476.6 MB, free: 5.508 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.5303, allocations: 342.8 kB / 476.9 MB, free: 5.164 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.5304, allocations: 68.47 kB / 477 MB, free: 5.094 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.5306, allocations: 108.1 kB / 477.1 MB, free: 4.977 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.5307, allocations: 75.94 kB / 477.2 MB, free: 4.902 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5307, allocations: 0 / 477.2 MB, free: 4.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004146/0.5312, allocations: 237.2 kB / 477.4 MB, free: 4.664 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.5312, allocations: 37.69 kB / 477.4 MB, free: 4.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.5312, allocations: 0 / 477.4 MB, free: 4.621 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.5312, allocations: 0 / 477.4 MB, free: 4.621 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002204/0.5334, allocations: 335.7 kB / 477.8 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004211/0.5377, allocations: 2.961 MB / 480.7 MB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/0.5381, allocations: 59.98 kB / 480.8 MB, free: 1.047 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.5382, allocations: 4 kB / 480.8 MB, free: 1.043 MB / 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.0001778/0.5384, allocations: 116.9 kB / 480.9 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003796/0.5388, allocations: 207.6 kB / 481.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.5388, allocations: 19.81 kB / 481.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.987e-05/0.5389, allocations: 29.95 kB / 481.2 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.5389, allocations: 0 / 481.2 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.5389, allocations: 0 / 481.2 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.5389, allocations: 4 kB / 481.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.5402, allocations: 0.7415 MB / 481.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5402, allocations: 0 / 481.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00217/0.5424, allocations: 331.7 kB / 482.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.5424, allocations: 0 / 482.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.5424, allocations: 11.98 kB / 482.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003952/0.5464, allocations: 2.95 MB / 485.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.5464, allocations: 8.016 kB / 485.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006775/0.5471, allocations: 442.9 kB / 485.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.5472, allocations: 104.8 kB / 485.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.728e-05/0.5473, allocations: 4 kB / 485.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.5477, allocations: 52.02 kB / 485.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.5478, allocations: 27.95 kB / 485.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.5479, allocations: 8 kB / 485.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001978/0.5481, allocations: 156.5 kB / 486 MB, free: 11.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5481, allocations: 0 / 486 MB, free: 11.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005552/0.5486, allocations: 79.84 kB / 486 MB, free: 11.45 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.001244/0.5499, allocations: 1.123 MB / 487.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002384/0.5523, allocations: 479.1 kB / 487.6 MB, free: 9.809 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5523, allocations: 0 / 487.6 MB, free: 9.809 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001895/0.5542, allocations: 339.9 kB / 488 MB, free: 9.477 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.5546, allocations: 24.41 kB / 488 MB, free: 9.453 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.5562, allocations: 0.5249 MB / 488.5 MB, free: 8.883 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.5566, allocations: 0.7594 MB / 489.3 MB, free: 8.098 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000146/0.5568, allocations: 26.06 kB / 489.3 MB, free: 8.074 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.5569, allocations: 79.41 kB / 489.4 MB, free: 7.996 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.5569, allocations: 0 / 489.4 MB, free: 7.996 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/0.5831, allocations: 4.782 MB / 494.2 MB, free: 3.254 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/0.5834, allocations: 152.5 kB / 494.3 MB, free: 3.059 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.361, allocations: 0 / 494.3 MB, free: 3.059 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1)