Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.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.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R_Characteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001555/0.001555, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 225.6 MB / 234.8 MB, free: 3.191 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009838/0.0009839, allocations: 96.67 kB / 286.7 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.641e-05/1.643e-05, allocations: 0 / 343.8 MB, free: 8.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09943/0.09946, allocations: 51.48 MB / 395.3 MB, free: 4.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3344/0.4339, allocations: 86.13 MB / 481.4 MB, free: 6.785 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.4342, allocations: 83.7 kB / 481.5 MB, free: 6.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02494/0.4591, allocations: 10.57 MB / 492.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4592, allocations: 0 / 492.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.772e-05/0.4592, allocations: 8 kB / 492.1 MB, free: 13.98 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00119/0.4604, allocations: 0.7339 MB / 492.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4605, allocations: 12.02 kB / 492.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.4607, allocations: 71.16 kB / 492.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005493/0.4612, allocations: 383.2 kB / 493.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.4613, allocations: 23.59 kB / 493.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.188e-05/0.4613, allocations: 24 kB / 493.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004993/0.4619, allocations: 310.4 kB / 493.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000649/0.4625, allocations: 420.2 kB / 494 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.4625, allocations: 3.906 kB / 494 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.967e-05/0.4626, allocations: 3.188 kB / 494 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.4626, allocations: 12 kB / 494 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002512/0.4652, allocations: 1.592 MB / 495.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007846/0.466, allocations: 372.8 kB / 496 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.4661, allocations: 110.5 kB / 496.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.705e-05/0.4662, allocations: 11.38 kB / 496.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004236/0.4666, allocations: 239 kB / 496.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.695e-06/0.4666, allocations: 0 / 496.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006698/0.4673, allocations: 323.5 kB / 496.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.9e-05/0.4674, allocations: 132.5 kB / 496.8 MB, free: 9.918 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/0.4678, allocations: 281.1 kB / 497.1 MB, free: 9.699 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.4678, allocations: 32.89 kB / 497.1 MB, free: 9.664 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.468, allocations: 259.2 kB / 497.4 MB, free: 9.461 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.264e-05/0.4681, allocations: 96.34 kB / 497.4 MB, free: 9.379 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.745e-05/0.4681, allocations: 0 / 497.4 MB, free: 9.379 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.4683, allocations: 348.7 kB / 497.8 MB, free: 9.047 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.4685, allocations: 108.3 kB / 497.9 MB, free: 8.984 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.4688, allocations: 261.9 kB / 498.1 MB, free: 8.711 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.469, allocations: 134.5 kB / 498.3 MB, free: 8.621 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.469, allocations: 0 / 498.3 MB, free: 8.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005888/0.4696, allocations: 399.6 kB / 498.7 MB, free: 8.305 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007116/0.4703, allocations: 1.654 MB / 0.4886 GB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.4704, allocations: 8 kB / 0.4886 GB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001994/0.4706, allocations: 43.84 kB / 0.4886 GB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.4709, allocations: 83.64 kB / 0.4887 GB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.4722, allocations: 1.442 MB / 0.4901 GB, free: 4.957 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003611/0.4725, allocations: 67.72 kB / 0.4902 GB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.4726, allocations: 15 kB / 0.4902 GB, free: 4.879 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/0.4726, allocations: 4 kB / 0.4902 GB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004959/0.4731, allocations: 328.4 kB / 0.4905 GB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.4731, allocations: 5.875 kB / 0.4905 GB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001118/0.4732, allocations: 43.91 kB / 0.4906 GB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.4735, allocations: 71.89 kB / 0.4906 GB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.4746, allocations: 1.444 MB / 0.4921 GB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003708/0.475, allocations: 59.72 kB / 0.4921 GB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.475, allocations: 15.94 kB / 0.4921 GB, free: 2.992 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition2,$whenCondition1,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.4752, allocations: 139.2 kB / 0.4923 GB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005123/0.4757, allocations: 318.5 kB / 0.4926 GB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.4758, allocations: 43.58 kB / 0.4926 GB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.635e-05/0.4759, allocations: 35.81 kB / 0.4926 GB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4759, allocations: 4 kB / 0.4926 GB, free: 2.535 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.4759, allocations: 0 / 0.4926 GB, free: 2.535 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4759, allocations: 0 / 0.4926 GB, free: 2.535 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.477, allocations: 0.823 MB / 0.4934 GB, free: 1.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.477, allocations: 4 kB / 0.4935 GB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.4772, allocations: 46.91 kB / 0.4935 GB, free: 1.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001333/0.4774, allocations: 40 kB / 0.4935 GB, free: 1.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.4774, allocations: 7.969 kB / 0.4935 GB, free: 1.762 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.4785, allocations: 1.357 MB / 0.4949 GB, free: 388 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4785, allocations: 7.969 kB / 0.4949 GB, free: 380 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007391/0.4792, allocations: 0.5543 MB / 0.4954 GB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.4794, allocations: 146.5 kB / 0.4956 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/0.4795, allocations: 3.188 kB / 0.4956 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/0.4798, allocations: 39.95 kB / 0.4956 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.808e-05/0.4799, allocations: 39.33 kB / 0.4956 GB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.4799, allocations: 11.98 kB / 0.4956 GB, free: 15.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002165/0.4802, allocations: 208.4 kB / 0.4958 GB, free: 15.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4802, allocations: 0 / 0.4958 GB, free: 15.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007888/0.481, allocations: 187.2 kB / 0.496 GB, free: 15.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001045/0.482, allocations: 1.119 MB / 0.4971 GB, free: 14.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.4831, allocations: 0.6788 MB / 0.4978 GB, free: 13.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4831, allocations: 320 / 0.4978 GB, free: 13.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003029/0.4834, allocations: 257.4 kB / 0.498 GB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.4838, allocations: 46.19 kB / 0.4981 GB, free: 13.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.4853, allocations: 0.7261 MB / 0.4988 GB, free: 12.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.4858, allocations: 0.8666 MB / 0.4996 GB, free: 12.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003343/0.4861, allocations: 95.19 kB / 0.4997 GB, free: 11.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.4863, allocations: 140.4 kB / 0.4998 GB, free: 11.88 MB / 378.7 MB Notification: Performance of SimCode: time 1.723e-06/0.4863, allocations: 4 kB / 0.4999 GB, free: 11.88 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.517, allocations: 8.413 MB / 0.5081 GB, free: 3.578 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.5172, allocations: 211.1 kB / 0.5083 GB, free: 3.309 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/2.709, allocations: 1.406 kB / 0.5083 GB, free: 3.309 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R_Characteristic.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_res.mat does not exist to compare? outputFormat=mat