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_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_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.001557/0.001557, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.934/1.934, allocations: 205.4 MB / 222.5 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 93.3 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003929/0.000393, allocations: 8 kB / 327.1 MB, free: 112 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3239, allocations: 47.57 MB / 374.6 MB, free: 45.31 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.4653, allocations: 87.94 MB / 462.6 MB, free: 8.703 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/0.4657, allocations: 95.94 kB / 462.7 MB, free: 8.609 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05782/0.5235, allocations: 13.37 MB / 476.1 MB, free: 11.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.5236, allocations: 0 / 476.1 MB, free: 11.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.581e-05/0.5237, allocations: 16 kB / 476.1 MB, free: 11.16 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002897/0.5266, allocations: 0.9511 MB / 477 MB, free: 10.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.5267, allocations: 12.03 kB / 477 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003008/0.527, allocations: 106.5 kB / 477.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002364/0.5272, allocations: 83.36 kB / 477.2 MB, free: 9.941 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.5285, allocations: 485.9 kB / 477.7 MB, free: 9.426 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.769e-05/0.5286, allocations: 53.31 kB / 477.7 MB, free: 9.375 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.5287, allocations: 60 kB / 477.8 MB, free: 9.316 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00281/0.5316, allocations: 0.6808 MB / 478.5 MB, free: 8.613 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.25e-05/0.5317, allocations: 8 kB / 478.5 MB, free: 8.605 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.5318, allocations: 24 kB / 478.5 MB, free: 8.582 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.5318, allocations: 12 kB / 478.5 MB, free: 8.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.5338, allocations: 0.5321 MB / 479.1 MB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005741/0.5396, allocations: 2.333 MB / 481.4 MB, free: 5.586 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002328/0.542, allocations: 0.5809 MB / 482 MB, free: 4.992 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-05/0.5421, allocations: 8.375 kB / 482 MB, free: 4.984 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/0.5433, allocations: 367.6 kB / 482.3 MB, free: 4.605 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 3.346e-06/0.5433, allocations: 0 / 482.3 MB, free: 4.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.003724/0.547, allocations: 0.8678 MB / 483.2 MB, free: 3.711 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.5472, allocations: 111.2 kB / 483.3 MB, free: 3.578 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008856/0.5481, allocations: 397 kB / 483.7 MB, free: 3.188 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.5482, allocations: 41.64 kB / 483.7 MB, free: 3.141 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/0.5486, allocations: 363.3 kB / 484.1 MB, free: 2.781 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.5488, allocations: 145.9 kB / 484.2 MB, free: 2.637 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.5489, allocations: 8 kB / 484.3 MB, free: 2.629 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.5491, allocations: 342.8 kB / 484.6 MB, free: 2.285 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007979/0.5499, allocations: 197 kB / 484.8 MB, free: 2.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000956/0.5509, allocations: 359.2 kB / 485.1 MB, free: 1.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008522/0.5518, allocations: 216.7 kB / 485.3 MB, free: 1.469 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.984e-06/0.5518, allocations: 0 / 485.3 MB, free: 1.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002175/0.554, allocations: 0.6101 MB / 486 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008358/0.5548, allocations: 1.574 MB / 487.5 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.5549, allocations: 4 kB / 487.5 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005111/0.5554, allocations: 80.81 kB / 487.6 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008325/0.5563, allocations: 99.81 kB / 487.7 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002996/0.5593, allocations: 1.802 MB / 489.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009041/0.5602, allocations: 87.42 kB / 489.6 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.317e-05/0.5603, allocations: 20 kB / 489.6 MB, free: 12.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.5604, allocations: 4 kB / 489.6 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001823/0.5622, allocations: 0.546 MB / 490.2 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.5622, allocations: 4 kB / 490.2 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/0.5626, allocations: 76.83 kB / 490.2 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006462/0.5633, allocations: 104 kB / 490.3 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002714/0.566, allocations: 1.784 MB / 492.1 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005963/0.5666, allocations: 71.7 kB / 492.2 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/0.5667, allocations: 24 kB / 492.2 MB, free: 10.18 MB / 378.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: 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 () * Number of clocked 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006079/0.5673, allocations: 304.9 kB / 492.5 MB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.5675, allocations: 59.3 kB / 492.6 MB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.5677, allocations: 57.5 kB / 492.6 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.5677, allocations: 11.97 kB / 492.6 MB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5677, allocations: 4 kB / 492.6 MB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.5677, allocations: 0 / 492.6 MB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003651/0.5714, allocations: 1.276 MB / 493.9 MB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.5715, allocations: 0 / 493.9 MB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006278/0.5721, allocations: 67.89 kB / 494 MB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003828/0.5725, allocations: 77 kB / 494.1 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.249e-05/0.5726, allocations: 8 kB / 494.1 MB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003033/0.5756, allocations: 1.796 MB / 495.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5757, allocations: 4.062 kB / 495.9 MB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002881/0.5786, allocations: 0.8972 MB / 496.8 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003364/0.5789, allocations: 172.4 kB / 496.9 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.5791, allocations: 12 kB / 496.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006714/0.5798, allocations: 51.95 kB / 497 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/0.58, allocations: 56.34 kB / 497.1 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-05/0.5801, allocations: 16 kB / 497.1 MB, free: 5.086 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000588/0.5807, allocations: 307.1 kB / 497.4 MB, free: 4.789 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5807, allocations: 0 / 497.4 MB, free: 4.789 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001405/0.5821, allocations: 295 kB / 497.7 MB, free: 4.5 MB / 378.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: 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003337/0.5854, allocations: 1.468 MB / 499.1 MB, free: 3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003259/0.5887, allocations: 1.077 MB / 0.4885 GB, free: 1.898 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.5888, allocations: 0 / 0.4885 GB, free: 1.898 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.59, allocations: 413 kB / 0.4889 GB, free: 1.484 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008346/0.5909, allocations: 78.92 kB / 0.4889 GB, free: 1.406 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2715/0.8624, allocations: 4.533 MB / 0.4934 GB, free: 102.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006644/0.8631, allocations: 0.9275 MB / 0.4943 GB, free: 101.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006323/0.8638, allocations: 219.9 kB / 0.4945 GB, free: 101.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/0.8638, allocations: 0.5312 kB / 0.4945 GB, free: 101.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.883/3.747, allocations: 12.47 MB / 0.5067 GB, free: 100.5 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.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_Characteristic_res.mat does not exist to compare? outputFormat=mat