Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 176.6 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 221.5 MB / 230.3 MB, free: 7.551 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008372/0.0008374, allocations: 94.83 kB / 281.2 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.534e-05/1.536e-05, allocations: 0 / 337.2 MB, free: 9.91 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1024, allocations: 50.43 MB / 387.6 MB, free: 7.445 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3729/0.4754, allocations: 88.31 MB / 475.9 MB, free: 6.438 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.4757, allocations: 87.94 kB / 476 MB, free: 6.352 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03575/0.5115, allocations: 13.94 MB / 489.9 MB, free: 8.352 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5115, allocations: 0 / 489.9 MB, free: 8.352 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.16e-05/0.5116, allocations: 16 kB / 489.9 MB, free: 8.336 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001372/0.5129, allocations: 0.8767 MB / 490.8 MB, free: 7.406 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.513, allocations: 8.031 kB / 490.8 MB, free: 7.398 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.5131, allocations: 90.95 kB / 490.9 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006947/0.5138, allocations: 492.4 kB / 491.4 MB, free: 6.785 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/0.5139, allocations: 27.98 kB / 491.4 MB, free: 6.758 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.188e-05/0.514, allocations: 40 kB / 491.5 MB, free: 6.719 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007382/0.5147, allocations: 434.5 kB / 491.9 MB, free: 6.293 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009027/0.5156, allocations: 0.5699 MB / 492.4 MB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.5157, allocations: 0 / 492.4 MB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.105e-05/0.5157, allocations: 3.984 kB / 492.5 MB, free: 5.695 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.5157, allocations: 20 kB / 492.5 MB, free: 5.676 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003204/0.519, allocations: 2.28 MB / 494.8 MB, free: 3.293 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005914/0.5196, allocations: 411.1 kB / 495.2 MB, free: 2.883 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004568/0.52, allocations: 250.5 kB / 495.4 MB, free: 2.637 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.5201, allocations: 4 kB / 495.4 MB, free: 2.633 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004427/0.5205, allocations: 299.4 kB / 495.7 MB, free: 2.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 1.954e-06/0.5205, allocations: 0 / 495.7 MB, free: 2.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.0006967/0.5212, allocations: 420.4 kB / 496.1 MB, free: 1.898 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.141e-05/0.5213, allocations: 166.6 kB / 496.3 MB, free: 1.699 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004058/0.5218, allocations: 373 kB / 496.6 MB, free: 1.332 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.5218, allocations: 33.73 kB / 496.7 MB, free: 1.293 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.522, allocations: 328.1 kB / 497 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.5221, allocations: 153.8 kB / 497.1 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/0.5222, allocations: 0 / 497.1 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5223, allocations: 366.7 kB / 497.5 MB, free: 456 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.5225, allocations: 149.5 kB / 497.6 MB, free: 304 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/0.5229, allocations: 318 kB / 498 MB, free: 15.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.5232, allocations: 176.7 kB / 498.1 MB, free: 15.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.5232, allocations: 0 / 498.1 MB, free: 15.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007869/0.524, allocations: 0.5161 MB / 498.6 MB, free: 15.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006339/0.5246, allocations: 1.653 MB / 0.4886 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.5246, allocations: 8 kB / 0.4886 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003036/0.5249, allocations: 76.81 kB / 0.4886 GB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/0.5253, allocations: 95.83 kB / 0.4887 GB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.527, allocations: 1.706 MB / 0.4904 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004449/0.5274, allocations: 75.62 kB / 0.4905 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/0.5275, allocations: 23.98 kB / 0.4905 GB, free: 11.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/0.5275, allocations: 4 kB / 0.4905 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006708/0.5282, allocations: 434.9 kB / 0.4909 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.5282, allocations: 4 kB / 0.4909 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001902/0.5284, allocations: 81.34 kB / 0.491 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.5287, allocations: 95.83 kB / 0.4911 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.5301, allocations: 1.694 MB / 0.4927 GB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.5305, allocations: 55.66 kB / 0.4928 GB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.5305, allocations: 20 kB / 0.4928 GB, free: 8.84 MB / 378.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (64): * Single equations (assignments): 63 * 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.0001796/0.5307, allocations: 144.1 kB / 0.493 GB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006663/0.5314, allocations: 420.3 kB / 0.4934 GB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.967e-05/0.5315, allocations: 55.47 kB / 0.4934 GB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.5316, allocations: 56.95 kB / 0.4935 GB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.5316, allocations: 11.94 kB / 0.4935 GB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.5316, allocations: 0 / 0.4935 GB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.5317, allocations: 4.031 kB / 0.4935 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.5333, allocations: 1.191 MB / 0.4946 GB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5334, allocations: 0 / 0.4946 GB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.5336, allocations: 59.94 kB / 0.4947 GB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000186/0.5338, allocations: 68.81 kB / 0.4948 GB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.5338, allocations: 11.92 kB / 0.4948 GB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.5352, allocations: 1.585 MB / 0.4963 GB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5352, allocations: 3.938 kB / 0.4963 GB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009673/0.5362, allocations: 0.7518 MB / 0.4971 GB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.5364, allocations: 172.4 kB / 0.4972 GB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.218e-05/0.5365, allocations: 11.95 kB / 0.4972 GB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.5368, allocations: 39.95 kB / 0.4973 GB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.5369, allocations: 56.36 kB / 0.4973 GB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.537, allocations: 12 kB / 0.4973 GB, free: 3.973 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002822/0.5373, allocations: 275 kB / 0.4976 GB, free: 3.707 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5373, allocations: 4 kB / 0.4976 GB, free: 3.703 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009395/0.5382, allocations: 274.9 kB / 0.4979 GB, free: 3.434 MB / 378.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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 (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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0013/0.5395, allocations: 1.392 MB / 0.4992 GB, free: 2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.5408, allocations: 0.9016 MB / 0.5001 GB, free: 1.078 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5408, allocations: 80 / 0.5001 GB, free: 1.078 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003854/0.5412, allocations: 343.1 kB / 0.5004 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.5417, allocations: 74.89 kB / 0.5005 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.5436, allocations: 0.9736 MB / 0.5015 GB, free: 15.64 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.5441, allocations: 0.9419 MB / 0.5024 GB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004454/0.5446, allocations: 120.3 kB / 0.5025 GB, free: 14.56 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/0.5449, allocations: 215.4 kB / 0.5027 GB, free: 14.35 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5449, allocations: 0 / 0.5027 GB, free: 14.35 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03581/0.5807, allocations: 11.8 MB / 0.5142 GB, free: 2.672 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007692/0.5815, allocations: 208.6 kB / 0.5144 GB, free: 2.383 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.248/2.83, allocations: 1.719 kB / 0.5144 GB, free: 2.383 MB / 394.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat