Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002039/0.002039, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.151/2.151, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 95.14 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.592e-05/2.601e-05, allocations: 4 kB / 314.9 MB, free: 9.039 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3377, allocations: 47.56 MB / 362.4 MB, free: 45.74 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.4828, allocations: 86.97 MB / 449.4 MB, free: 15.23 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/0.4832, allocations: 87.94 kB / 449.5 MB, free: 15.14 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05853/0.5418, allocations: 13.12 MB / 462.6 MB, free: 2.059 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5418, allocations: 0 / 462.6 MB, free: 2.059 MB / 347.1 MB Notification: Performance of Transformations before backend: time 7.304e-05/0.5419, allocations: 16 kB / 462.6 MB, free: 2.043 MB / 347.1 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.002648/0.5446, allocations: 0.8595 MB / 463.5 MB, free: 1.133 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/0.5447, allocations: 12.03 kB / 463.5 MB, free: 1.121 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003641/0.545, allocations: 83.36 kB / 463.6 MB, free: 1.039 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.5464, allocations: 484.1 kB / 464.1 MB, free: 0.5195 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.006e-05/0.5465, allocations: 24 kB / 464.1 MB, free: 0.4961 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.5467, allocations: 41.03 kB / 464.1 MB, free: 468 kB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001361/0.548, allocations: 406.5 kB / 464.5 MB, free: 64 kB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.5496, allocations: 0.5417 MB / 465.1 MB, free: 15.5 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.586e-05/0.5497, allocations: 0 / 465.1 MB, free: 15.5 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.48e-05/0.5498, allocations: 7.984 kB / 465.1 MB, free: 15.49 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.069e-05/0.5498, allocations: 16 kB / 465.1 MB, free: 15.48 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006222/0.5561, allocations: 2.211 MB / 467.3 MB, free: 13.16 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.5577, allocations: 434.8 kB / 467.7 MB, free: 12.73 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007608/0.5585, allocations: 234 kB / 467.9 MB, free: 12.5 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.884e-05/0.5585, allocations: 9.297 kB / 468 MB, free: 12.49 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007474/0.5593, allocations: 287.4 kB / 468.2 MB, free: 12.18 MB / 363.1 MB Notification: Performance of pre-optimization done (n=47): time 3.727e-06/0.5593, allocations: 0 / 468.2 MB, free: 12.18 MB / 363.1 MB Notification: Performance of matching and sorting (n=47): time 0.001297/0.5606, allocations: 396.8 kB / 468.6 MB, free: 11.79 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.5608, allocations: 133 kB / 468.7 MB, free: 11.62 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007963/0.5616, allocations: 373 kB / 469.1 MB, free: 11.25 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.5617, allocations: 29.7 kB / 469.1 MB, free: 11.22 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003787/0.5621, allocations: 362.6 kB / 469.5 MB, free: 10.86 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.5623, allocations: 142 kB / 469.6 MB, free: 10.72 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.5624, allocations: 0 / 469.6 MB, free: 10.72 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.5626, allocations: 334.8 kB / 470 MB, free: 10.39 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000428/0.563, allocations: 141.1 kB / 470.1 MB, free: 10.25 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005696/0.5636, allocations: 296.3 kB / 470.4 MB, free: 9.895 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/0.5641, allocations: 156.7 kB / 470.5 MB, free: 9.746 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.5641, allocations: 4 kB / 470.5 MB, free: 9.742 MB / 363.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001333/0.5655, allocations: 468.4 kB / 471 MB, free: 9.273 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009684/0.5664, allocations: 1.665 MB / 472.7 MB, free: 7.48 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.5665, allocations: 4 kB / 472.7 MB, free: 7.477 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005197/0.567, allocations: 88.84 kB / 472.8 MB, free: 7.387 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007277/0.5678, allocations: 91.83 kB / 472.8 MB, free: 7.297 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/0.5704, allocations: 1.699 MB / 474.5 MB, free: 5.473 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008657/0.5714, allocations: 75.64 kB / 474.6 MB, free: 5.398 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.864e-05/0.5714, allocations: 23.98 kB / 474.6 MB, free: 5.375 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.5715, allocations: 4 kB / 474.7 MB, free: 5.371 MB / 363.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001238/0.5727, allocations: 419 kB / 475.1 MB, free: 4.957 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.5728, allocations: 4 kB / 475.1 MB, free: 4.953 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000363/0.5731, allocations: 81.83 kB / 475.1 MB, free: 4.871 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00062/0.5738, allocations: 83.84 kB / 475.2 MB, free: 4.789 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/0.5763, allocations: 1.686 MB / 476.9 MB, free: 2.992 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006251/0.577, allocations: 55.72 kB / 477 MB, free: 2.938 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-05/0.5771, allocations: 24 kB / 477 MB, free: 2.914 MB / 363.1 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.0002912/0.5774, allocations: 144.1 kB / 477.1 MB, free: 2.766 MB / 363.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001152/0.5785, allocations: 405.5 kB / 477.5 MB, free: 2.359 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.5787, allocations: 51.39 kB / 477.6 MB, free: 2.309 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.5789, allocations: 48.97 kB / 477.6 MB, free: 2.258 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.5789, allocations: 4 kB / 477.6 MB, free: 2.254 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5789, allocations: 0 / 477.6 MB, free: 2.254 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.5789, allocations: 3.984 kB / 477.6 MB, free: 2.25 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002757/0.5817, allocations: 1.128 MB / 478.8 MB, free: 1.07 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.5818, allocations: 0 / 478.8 MB, free: 1.07 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004852/0.5823, allocations: 51.91 kB / 478.8 MB, free: 1.02 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003626/0.5826, allocations: 68.83 kB / 478.9 MB, free: 0.9492 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.295e-05/0.5827, allocations: 8.016 kB / 478.9 MB, free: 0.9414 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00238/0.5851, allocations: 1.588 MB / 480.5 MB, free: 15.24 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/0.5852, allocations: 4.031 kB / 480.5 MB, free: 15.23 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.587, allocations: 0.7103 MB / 481.2 MB, free: 14.5 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003774/0.5874, allocations: 168.5 kB / 481.4 MB, free: 14.32 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.5875, allocations: 0 / 481.4 MB, free: 14.32 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006154/0.5881, allocations: 40.03 kB / 481.4 MB, free: 14.28 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.5884, allocations: 55.88 kB / 481.4 MB, free: 14.22 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.828e-05/0.5884, allocations: 15.98 kB / 481.5 MB, free: 14.21 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.000521/0.589, allocations: 263 kB / 481.7 MB, free: 13.95 MB / 379.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.589, allocations: 8 kB / 481.7 MB, free: 13.95 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001508/0.5905, allocations: 271 kB / 482 MB, free: 13.68 MB / 379.1 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.00243/0.593, allocations: 1.347 MB / 483.3 MB, free: 12.29 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.002166/0.5952, allocations: 0.8552 MB / 484.2 MB, free: 11.42 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.5953, allocations: 0 / 484.2 MB, free: 11.42 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007967/0.5961, allocations: 333.2 kB / 484.5 MB, free: 11.08 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007781/0.5969, allocations: 62.66 kB / 484.6 MB, free: 11.02 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/0.6003, allocations: 0.9572 MB / 485.5 MB, free: 10.02 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007095/0.601, allocations: 0.9219 MB / 486.5 MB, free: 9.062 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000545/0.6016, allocations: 226.2 kB / 486.7 MB, free: 8.844 MB / 379.1 MB Notification: Performance of SimCode: time 1.242e-06/0.6016, allocations: 3.938 kB / 486.7 MB, free: 8.84 MB / 379.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.941/3.543, allocations: 12.2 MB / 498.9 MB, free: 12.66 MB / 395.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV.fmu > Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat