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.001605/0.001605, allocations: 188.4 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001159/0.001158, allocations: 84.45 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003939, allocations: 8 kB / 327.1 MB, free: 84 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3334, allocations: 47.56 MB / 374.6 MB, free: 45.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1456/0.4792, allocations: 87.72 MB / 462.4 MB, free: 8.914 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003488/0.4796, allocations: 87.94 kB / 462.4 MB, free: 8.828 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0574/0.537, allocations: 13.27 MB / 475.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.5371, allocations: 0 / 475.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.279e-05/0.5371, allocations: 16 kB / 475.7 MB, free: 11.48 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002775/0.5399, allocations: 0.9236 MB / 476.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.54, allocations: 12.03 kB / 476.7 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002995/0.5403, allocations: 106.5 kB / 476.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/0.5405, allocations: 83.36 kB / 476.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.5418, allocations: 482 kB / 477.3 MB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.799e-05/0.5419, allocations: 49.31 kB / 477.4 MB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.5421, allocations: 72 kB / 477.4 MB, free: 9.664 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.544, allocations: 0.6535 MB / 478.1 MB, free: 8.988 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/0.544, allocations: 0 / 478.1 MB, free: 8.988 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-05/0.5441, allocations: 28 kB / 478.1 MB, free: 8.961 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.5442, allocations: 12 kB / 478.1 MB, free: 8.949 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.5459, allocations: 0.4931 MB / 478.6 MB, free: 8.457 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005945/0.5518, allocations: 2.348 MB / 481 MB, free: 5.992 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.5535, allocations: 479.2 kB / 481.4 MB, free: 5.512 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.096e-05/0.5536, allocations: 7.984 kB / 481.4 MB, free: 5.504 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008552/0.5545, allocations: 311.4 kB / 481.8 MB, free: 5.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 3.477e-06/0.5545, allocations: 0 / 481.8 MB, free: 5.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.002904/0.5574, allocations: 0.7467 MB / 482.5 MB, free: 4.406 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.5576, allocations: 119.2 kB / 482.6 MB, free: 4.266 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009745/0.5586, allocations: 444.9 kB / 483 MB, free: 3.824 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.5587, allocations: 49.7 kB / 483.1 MB, free: 3.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003266/0.5591, allocations: 351.2 kB / 483.4 MB, free: 3.426 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.5593, allocations: 138.2 kB / 483.6 MB, free: 3.289 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.5593, allocations: 8 kB / 483.6 MB, free: 3.281 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5595, allocations: 334.8 kB / 483.9 MB, free: 2.945 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006385/0.5602, allocations: 177 kB / 484.1 MB, free: 2.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000765/0.5609, allocations: 335.2 kB / 484.4 MB, free: 2.383 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006954/0.5617, allocations: 200.7 kB / 484.6 MB, free: 2.188 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.5617, allocations: 0 / 484.6 MB, free: 2.188 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001771/0.5635, allocations: 0.5822 MB / 485.2 MB, free: 1.594 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006899/0.5642, allocations: 1.566 MB / 486.8 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.5642, allocations: 4 kB / 486.8 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004908/0.5647, allocations: 80.77 kB / 486.8 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006888/0.5654, allocations: 95.83 kB / 486.9 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002802/0.5682, allocations: 1.798 MB / 488.7 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008975/0.5692, allocations: 91.55 kB / 488.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.845e-05/0.5693, allocations: 20 kB / 488.8 MB, free: 13.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.5693, allocations: 4 kB / 488.8 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001523/0.5708, allocations: 0.5029 MB / 489.3 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.5709, allocations: 4 kB / 489.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003681/0.5712, allocations: 80.89 kB / 489.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/0.5718, allocations: 91.78 kB / 489.5 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/0.5746, allocations: 1.788 MB / 491.3 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006141/0.5753, allocations: 67.64 kB / 491.4 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/0.5753, allocations: 24 kB / 491.4 MB, free: 10.99 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 (61): * Single equations (assignments): 60 * 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.000608/0.5759, allocations: 315.8 kB / 491.7 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.5761, allocations: 55.34 kB / 491.8 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.5763, allocations: 57.52 kB / 491.8 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.5763, allocations: 4 kB / 491.8 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5764, allocations: 0 / 491.8 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.5764, allocations: 3.984 kB / 491.8 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002978/0.5794, allocations: 1.194 MB / 493 MB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.5794, allocations: 0 / 493 MB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004551/0.5799, allocations: 47.91 kB / 493.1 MB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003752/0.5803, allocations: 76.81 kB / 493.1 MB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/0.5803, allocations: 11.98 kB / 493.1 MB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002758/0.5831, allocations: 1.8 MB / 494.9 MB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5832, allocations: 0 / 494.9 MB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.5853, allocations: 0.7644 MB / 495.7 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003943/0.5858, allocations: 172.7 kB / 495.9 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.5859, allocations: 12 kB / 495.9 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005915/0.5865, allocations: 43.95 kB / 495.9 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/0.5868, allocations: 60.3 kB / 496 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.676e-05/0.5868, allocations: 12 kB / 496 MB, free: 6.129 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007309/0.5876, allocations: 338.9 kB / 496.3 MB, free: 5.801 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5876, allocations: 4 kB / 496.3 MB, free: 5.797 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001428/0.589, allocations: 295 kB / 496.6 MB, free: 5.508 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 (39): * Single equations (assignments): 33 * 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.002623/0.5917, allocations: 1.346 MB / 498 MB, free: 4.137 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002789/0.5945, allocations: 0.986 MB / 499 MB, free: 3.125 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.5945, allocations: 4 kB / 499 MB, free: 3.121 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009042/0.5955, allocations: 358 kB / 499.3 MB, free: 2.758 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008222/0.5963, allocations: 85.59 kB / 499.4 MB, free: 2.676 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2692/0.8655, allocations: 4.47 MB / 0.4921 GB, free: 103.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006388/0.8662, allocations: 0.931 MB / 0.493 GB, free: 102.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005896/0.8668, allocations: 223.9 kB / 0.4932 GB, free: 102.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.202e-06/0.8669, allocations: 0 / 0.4932 GB, free: 102.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.972/3.839, allocations: 12.33 MB / 0.5052 GB, free: 101.3 MB / 378.7 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