Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001451/0.001451, allocations: 178 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008153/0.0008154, allocations: 78.23 kB / 262.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.147e-05/2.154e-05, allocations: 4 kB / 315.6 MB, free: 22.6 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09925/0.09929, allocations: 47.58 MB / 363.2 MB, free: 6.957 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.328/0.4274, allocations: 87.2 MB / 450.4 MB, free: 8.215 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.4277, allocations: 88.11 kB / 450.5 MB, free: 8.164 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0339/0.4616, allocations: 13.12 MB / 463.6 MB, free: 13.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4617, allocations: 4 kB / 463.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.464e-05/0.4617, allocations: 19.94 kB / 463.6 MB, free: 13.23 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001534/0.4633, allocations: 0.8514 MB / 464.5 MB, free: 12.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.4633, allocations: 8.031 kB / 464.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.4635, allocations: 87.34 kB / 464.6 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007623/0.4642, allocations: 488.7 kB / 465 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/0.4643, allocations: 27.25 kB / 465.1 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.173e-05/0.4644, allocations: 36 kB / 465.1 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007138/0.4651, allocations: 404.8 kB / 465.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009358/0.4661, allocations: 0.5333 MB / 466 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.4661, allocations: 3.938 kB / 466 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.252e-05/0.4661, allocations: 4 kB / 466 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.4662, allocations: 16 kB / 466.1 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003206/0.4694, allocations: 2.209 MB / 468.3 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007704/0.4702, allocations: 445.8 kB / 468.7 MB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004063/0.4706, allocations: 234.3 kB / 468.9 MB, free: 8.789 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.4706, allocations: 4 kB / 468.9 MB, free: 8.785 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005122/0.4712, allocations: 289.4 kB / 469.2 MB, free: 8.543 MB / 346.7 MB Notification: Performance of pre-optimization done (n=47): time 2.625e-06/0.4712, allocations: 4 kB / 469.2 MB, free: 8.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=47): time 0.000698/0.4719, allocations: 391.3 kB / 469.6 MB, free: 8.246 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.55e-05/0.472, allocations: 136.5 kB / 469.7 MB, free: 8.082 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004187/0.4724, allocations: 362.6 kB / 470.1 MB, free: 7.801 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.057e-05/0.4725, allocations: 37.06 kB / 470.1 MB, free: 7.762 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.4727, allocations: 316.2 kB / 470.4 MB, free: 7.527 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.4728, allocations: 139.8 kB / 470.6 MB, free: 7.406 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.4728, allocations: 4.031 kB / 470.6 MB, free: 7.402 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.473, allocations: 367.2 kB / 470.9 MB, free: 7.059 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.4732, allocations: 144.3 kB / 471.1 MB, free: 6.973 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.4735, allocations: 292.2 kB / 471.4 MB, free: 6.695 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.4738, allocations: 162 kB / 471.5 MB, free: 6.598 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.4738, allocations: 0 / 471.5 MB, free: 6.598 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007362/0.4745, allocations: 0.4903 MB / 472 MB, free: 6.215 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007592/0.4753, allocations: 1.664 MB / 473.7 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.4753, allocations: 7.938 kB / 473.7 MB, free: 4.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003124/0.4756, allocations: 76.62 kB / 473.8 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/0.476, allocations: 99.58 kB / 473.8 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/0.4776, allocations: 1.701 MB / 475.6 MB, free: 2.668 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004041/0.478, allocations: 71.7 kB / 475.6 MB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.4781, allocations: 19.12 kB / 475.6 MB, free: 2.582 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.244e-06/0.4781, allocations: 4 kB / 475.6 MB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006364/0.4787, allocations: 418.9 kB / 476.1 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4787, allocations: 7.984 kB / 476.1 MB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001968/0.4789, allocations: 77.83 kB / 476.1 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.4793, allocations: 87.14 kB / 476.2 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.4807, allocations: 1.695 MB / 477.9 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.481, allocations: 55.72 kB / 478 MB, free: 484 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.4811, allocations: 26.75 kB / 478 MB, free: 464 kB / 346.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: 25 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.off,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_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.000171/0.4813, allocations: 139.4 kB / 478.1 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005893/0.4819, allocations: 394.4 kB / 478.5 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.411e-05/0.482, allocations: 51.44 kB / 478.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.4821, allocations: 54.09 kB / 478.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.4821, allocations: 7.938 kB / 478.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.4821, allocations: 0 / 478.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.4821, allocations: 0 / 478.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.4836, allocations: 1.134 MB / 479.8 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4836, allocations: 0 / 479.8 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.4839, allocations: 50.97 kB / 479.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001821/0.4841, allocations: 65.45 kB / 479.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.4841, allocations: 4 kB / 479.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/0.4854, allocations: 1.599 MB / 481.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4854, allocations: 0 / 481.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008927/0.4863, allocations: 0.7101 MB / 482.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.4865, allocations: 168.4 kB / 482.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.4866, allocations: 4 kB / 482.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.487, allocations: 39.95 kB / 482.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.4871, allocations: 53.56 kB / 482.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.4871, allocations: 14.75 kB / 482.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002724/0.4874, allocations: 268.1 kB / 482.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.774e-06/0.4874, allocations: 0 / 482.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009787/0.4884, allocations: 282.8 kB / 483 MB, free: 12.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p.off,rectifier.thyristor_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001278/0.4897, allocations: 1.342 MB / 484.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.4909, allocations: 0.8719 MB / 485.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4909, allocations: 0 / 485.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004077/0.4914, allocations: 324.1 kB / 485.5 MB, free: 9.996 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.4918, allocations: 67.89 kB / 485.6 MB, free: 9.949 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.4936, allocations: 0.937 MB / 486.5 MB, free: 9.039 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/0.4941, allocations: 0.9304 MB / 487.5 MB, free: 8.078 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003683/0.4945, allocations: 104.3 kB / 487.6 MB, free: 7.973 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.4948, allocations: 211.4 kB / 487.8 MB, free: 7.766 MB / 362.7 MB Notification: Performance of SimCode: time 3.136e-06/0.4948, allocations: 0 / 487.8 MB, free: 7.766 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03503/0.5298, allocations: 11.41 MB / 499.2 MB, free: 12.35 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/0.5301, allocations: 210.2 kB / 499.4 MB, free: 12.05 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/2.681, allocations: 0 / 499.4 MB, free: 12.05 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat