Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",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.001031/0.001031, allocations: 177 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.494/1.494, allocations: 205.3 MB / 214.4 MB, free: 1.73 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.0009428/0.0009426, allocations: 78.23 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.704e-05/1.704e-05, allocations: 0 / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08204/0.08207, allocations: 47.59 MB / 363.2 MB, free: 6.961 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3153/0.3974, allocations: 88.12 MB / 451.3 MB, free: 7.297 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.3978, allocations: 85 kB / 451.4 MB, free: 7.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03601/0.4338, allocations: 14.3 MB / 465.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4338, allocations: 0 / 465.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.611e-05/0.4339, allocations: 23.94 kB / 465.7 MB, free: 11.34 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001612/0.4355, allocations: 0.9267 MB / 466.6 MB, free: 10.4 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.4356, allocations: 8.031 kB / 466.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.4357, allocations: 86.97 kB / 466.7 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007324/0.4365, allocations: 0.5168 MB / 467.2 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/0.4365, allocations: 30.98 kB / 467.3 MB, free: 9.812 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-05/0.4366, allocations: 44 kB / 467.3 MB, free: 9.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007988/0.4374, allocations: 476 kB / 467.8 MB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.4384, allocations: 0.6215 MB / 468.4 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.4385, allocations: 0 / 468.4 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.727e-05/0.4385, allocations: 4 kB / 468.4 MB, free: 9.016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.4386, allocations: 20 kB / 468.4 MB, free: 8.996 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003514/0.4421, allocations: 2.559 MB / 471 MB, free: 6.863 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.4431, allocations: 0.6052 MB / 471.6 MB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006418/0.4438, allocations: 387.1 kB / 472 MB, free: 6.195 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/0.4438, allocations: 4.562 kB / 472 MB, free: 6.191 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005382/0.4444, allocations: 357.8 kB / 472.3 MB, free: 5.918 MB / 346.7 MB Notification: Performance of pre-optimization done (n=61): time 2.414e-06/0.4444, allocations: 0 / 472.3 MB, free: 5.918 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.0008948/0.4453, allocations: 0.5179 MB / 472.8 MB, free: 5.531 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.4454, allocations: 115.4 kB / 473 MB, free: 5.395 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.4458, allocations: 359 kB / 473.3 MB, free: 5.117 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.137e-05/0.4458, allocations: 33.69 kB / 473.3 MB, free: 5.078 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.4461, allocations: 320.8 kB / 473.7 MB, free: 4.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.4462, allocations: 182.2 kB / 473.8 MB, free: 4.684 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.4462, allocations: 4 kB / 473.8 MB, free: 4.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4464, allocations: 371.2 kB / 474.2 MB, free: 4.332 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.4467, allocations: 182 kB / 474.4 MB, free: 4.227 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/0.4471, allocations: 339.8 kB / 474.7 MB, free: 3.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.4474, allocations: 193.7 kB / 474.9 MB, free: 3.809 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4474, allocations: 4 kB / 474.9 MB, free: 3.805 MB / 346.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0009354/0.4483, allocations: 0.6264 MB / 475.5 MB, free: 3.332 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005613/0.4489, allocations: 1.581 MB / 477.1 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.4489, allocations: 4 kB / 477.1 MB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004408/0.4493, allocations: 158.8 kB / 477.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/0.4498, allocations: 110.8 kB / 477.4 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003004/0.4528, allocations: 3.497 MB / 480.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.4533, allocations: 67.62 kB / 480.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.4533, allocations: 22.94 kB / 481 MB, free: 14.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.4533, allocations: 4 kB / 481 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008455/0.4542, allocations: 0.5439 MB / 481.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4542, allocations: 4 kB / 481.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003512/0.4546, allocations: 162.6 kB / 481.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/0.455, allocations: 95.33 kB / 481.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/0.4581, allocations: 3.508 MB / 485.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004438/0.4585, allocations: 51.66 kB / 485.3 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.4586, allocations: 30.67 kB / 485.4 MB, free: 10.13 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.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 (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002532/0.4589, allocations: 145.3 kB / 485.5 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008091/0.4597, allocations: 0.5186 MB / 486 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-05/0.4598, allocations: 59.17 kB / 486.1 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.4599, allocations: 61.41 kB / 486.1 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.46, allocations: 4 kB / 486.1 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.46, allocations: 4 kB / 486.1 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.46, allocations: 3.984 kB / 486.1 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.4618, allocations: 1.285 MB / 487.4 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.4618, allocations: 4 kB / 487.4 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.4621, allocations: 67.89 kB / 487.5 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003606/0.4625, allocations: 153.6 kB / 487.7 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.4625, allocations: 11.98 kB / 487.7 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002911/0.4654, allocations: 3.383 MB / 491 MB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4655, allocations: 0 / 491 MB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.4667, allocations: 0.9103 MB / 492 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.467, allocations: 188.3 kB / 492.1 MB, free: 3.172 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.447e-05/0.4671, allocations: 3.984 kB / 492.1 MB, free: 3.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.4675, allocations: 47.91 kB / 492.2 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.4677, allocations: 76.45 kB / 492.3 MB, free: 3.047 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/0.4677, allocations: 19.98 kB / 492.3 MB, free: 3.027 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002813/0.468, allocations: 263 kB / 492.5 MB, free: 2.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.468, allocations: 0 / 492.5 MB, free: 2.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001196/0.4692, allocations: 323 kB / 492.9 MB, free: 2.453 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001619/0.4708, allocations: 1.469 MB / 494.3 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001833/0.4727, allocations: 1.318 MB / 495.6 MB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4727, allocations: 0 / 495.6 MB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006237/0.4733, allocations: 0.5213 MB / 496.2 MB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.4738, allocations: 79.89 kB / 496.2 MB, free: 14.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.4761, allocations: 1.119 MB / 497.4 MB, free: 13.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.4766, allocations: 0.9631 MB / 498.3 MB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003862/0.477, allocations: 104.6 kB / 498.4 MB, free: 12.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/0.4773, allocations: 227.4 kB / 498.6 MB, free: 12.49 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4773, allocations: 0 / 498.6 MB, free: 12.49 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03995/0.5172, allocations: 14.93 MB / 0.5015 GB, free: 13.54 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003019/0.5176, allocations: 217.3 kB / 0.5017 GB, free: 13.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/2.863, allocations: 0 / 0.5017 GB, free: 13.25 MB / 394.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat