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.00139/0.00139, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.468/1.468, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0007565/0.0007565, allocations: 86.64 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.654e-05/3.668e-05, allocations: 4 kB / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 47.57 MB / 370.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3498/0.4555, allocations: 87.61 MB / 457.7 MB, free: 5.762 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.4558, allocations: 82.25 kB / 457.8 MB, free: 5.715 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03548/0.4913, allocations: 13.25 MB / 471.1 MB, free: 9.793 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.4914, allocations: 4 kB / 471.1 MB, free: 9.789 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.322e-05/0.4915, allocations: 15.94 kB / 471.1 MB, free: 9.773 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.001851/0.4933, allocations: 0.8534 MB / 472 MB, free: 8.867 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.4934, allocations: 12.03 kB / 472 MB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002138/0.4936, allocations: 106.5 kB / 472.1 MB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002277/0.4938, allocations: 83.36 kB / 472.1 MB, free: 8.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009366/0.4948, allocations: 481.9 kB / 472.6 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-05/0.4948, allocations: 53.25 kB / 472.7 MB, free: 8.094 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.495, allocations: 67.98 kB / 472.7 MB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.4962, allocations: 0.6185 MB / 473.4 MB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.4963, allocations: 3.938 kB / 473.4 MB, free: 7.383 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.567e-05/0.4963, allocations: 27.98 kB / 473.4 MB, free: 7.355 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.4964, allocations: 16 kB / 473.4 MB, free: 7.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008559/0.4972, allocations: 433.2 kB / 473.8 MB, free: 6.914 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004023/0.5012, allocations: 2.344 MB / 476.2 MB, free: 4.453 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009317/0.5022, allocations: 476.2 kB / 476.6 MB, free: 3.977 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/0.5027, allocations: 236.9 kB / 476.9 MB, free: 3.742 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.5028, allocations: 4 kB / 476.9 MB, free: 3.738 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005596/0.5033, allocations: 308.2 kB / 477.2 MB, free: 3.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=47): time 3.526e-06/0.5034, allocations: 0 / 477.2 MB, free: 3.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=47): time 0.0008211/0.5042, allocations: 428.7 kB / 477.6 MB, free: 2.984 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.083e-05/0.5043, allocations: 152.4 kB / 477.7 MB, free: 2.805 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005476/0.5048, allocations: 423.7 kB / 478.2 MB, free: 2.387 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.384e-05/0.5049, allocations: 41.69 kB / 478.2 MB, free: 2.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.5051, allocations: 320.3 kB / 478.5 MB, free: 2.023 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.5053, allocations: 142 kB / 478.6 MB, free: 1.883 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.5053, allocations: 12 kB / 478.7 MB, free: 1.871 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.5055, allocations: 362.8 kB / 479 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/0.5057, allocations: 153.1 kB / 479.2 MB, free: 1.355 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.5061, allocations: 304.6 kB / 479.5 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.5064, allocations: 173.6 kB / 479.6 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.5064, allocations: 4 kB / 479.6 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008992/0.5073, allocations: 0.5544 MB / 480.2 MB, free: 268 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000676/0.508, allocations: 1.665 MB / 481.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.508, allocations: 4 kB / 481.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003325/0.5084, allocations: 80.8 kB / 481.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.5087, allocations: 99.77 kB / 482 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.5105, allocations: 1.73 MB / 483.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005467/0.5111, allocations: 91.55 kB / 483.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.828e-05/0.5111, allocations: 23.98 kB / 483.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.5112, allocations: 4 kB / 483.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008377/0.512, allocations: 487.2 kB / 484.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.5121, allocations: 4 kB / 484.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002446/0.5123, allocations: 84.78 kB / 484.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.5126, allocations: 87.83 kB / 484.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.5144, allocations: 1.732 MB / 486.3 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/0.5149, allocations: 75.61 kB / 486.3 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/0.515, allocations: 20 kB / 486.4 MB, free: 9.688 MB / 362.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.0002861/0.5153, allocations: 152.8 kB / 486.5 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.5154, allocations: 59.33 kB / 486.6 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.5156, allocations: 64.97 kB / 486.6 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.5156, allocations: 4 kB / 486.6 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.5156, allocations: 4 kB / 486.6 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.5157, allocations: 3.984 kB / 486.6 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/0.5177, allocations: 1.26 MB / 487.9 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.5178, allocations: 8.031 kB / 487.9 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/0.518, allocations: 51.91 kB / 488 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002275/0.5182, allocations: 68.83 kB / 488 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.5183, allocations: 7.984 kB / 488 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.5199, allocations: 1.648 MB / 489.7 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.52, allocations: 7.938 kB / 489.7 MB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.5211, allocations: 0.7458 MB / 490.4 MB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003013/0.5214, allocations: 180.3 kB / 490.6 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.5216, allocations: 15.98 kB / 490.6 MB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003769/0.5219, allocations: 43.97 kB / 490.7 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.5221, allocations: 51.92 kB / 490.7 MB, free: 5.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.5221, allocations: 15.98 kB / 490.7 MB, free: 5.055 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004604/0.5226, allocations: 321.6 kB / 491 MB, free: 4.742 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5226, allocations: 0 / 491 MB, free: 4.742 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001074/0.5237, allocations: 295.1 kB / 491.3 MB, free: 4.453 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.001552/0.5253, allocations: 1.389 MB / 492.7 MB, free: 3.023 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.5268, allocations: 0.9342 MB / 493.7 MB, free: 2.066 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5269, allocations: 0 / 493.7 MB, free: 2.066 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004661/0.5273, allocations: 342.9 kB / 494 MB, free: 1.719 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.5279, allocations: 84.12 kB / 494.1 MB, free: 1.641 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.5303, allocations: 0.9941 MB / 495.1 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005839/0.5309, allocations: 0.9309 MB / 496 MB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004914/0.5314, allocations: 112.5 kB / 496.1 MB, free: 15.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/0.5317, allocations: 211.4 kB / 496.3 MB, free: 15.32 MB / 378.7 MB Notification: Performance of SimCode: time 1.343e-06/0.5317, allocations: 3.938 kB / 496.3 MB, free: 15.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/0.5654, allocations: 12.96 MB / 0.4973 GB, free: 2.328 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/0.5656, allocations: 235.9 kB / 0.4976 GB, free: 2.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.252/2.818, allocations: 0 / 0.4976 GB, free: 2.02 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