Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 225.6 MB / 234.8 MB, free: 3.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000921/0.000921, allocations: 93.38 kB / 286.7 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.931e-05/1.935e-05, allocations: 4 kB / 343.8 MB, free: 8.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1068, allocations: 51.48 MB / 395.3 MB, free: 4.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3788/0.4856, allocations: 89.63 MB / 484.9 MB, free: 3.262 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.486, allocations: 84.12 kB / 485 MB, free: 3.215 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03955/0.5256, allocations: 15.04 MB / 0.4883 GB, free: 6.809 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5256, allocations: 4 kB / 0.4883 GB, free: 6.805 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.307e-05/0.5257, allocations: 16 kB / 0.4883 GB, free: 6.789 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.002268/0.528, allocations: 0.9236 MB / 0.4892 GB, free: 5.867 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.528, allocations: 12.03 kB / 0.4892 GB, free: 5.855 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005078/0.5286, allocations: 111.7 kB / 0.4893 GB, free: 5.746 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.5297, allocations: 0.5169 MB / 0.4899 GB, free: 5.285 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.826e-05/0.5298, allocations: 23.98 kB / 0.4899 GB, free: 5.262 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.5299, allocations: 44 kB / 0.4899 GB, free: 5.219 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001116/0.5311, allocations: 0.4891 MB / 0.4904 GB, free: 4.922 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.5323, allocations: 0.649 MB / 0.491 GB, free: 4.426 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.5323, allocations: 3.984 kB / 0.491 GB, free: 4.422 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.94e-05/0.5324, allocations: 4 kB / 0.491 GB, free: 4.418 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.5324, allocations: 16 kB / 0.4911 GB, free: 4.402 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004187/0.5366, allocations: 2.649 MB / 0.4936 GB, free: 2.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008174/0.5375, allocations: 0.5249 MB / 0.4941 GB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006944/0.5382, allocations: 384 kB / 0.4945 GB, free: 1.652 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.993e-05/0.5382, allocations: 8.5 kB / 0.4945 GB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005573/0.5388, allocations: 349.5 kB / 0.4949 GB, free: 1.379 MB / 362.7 MB Notification: Performance of pre-optimization done (n=60): time 2.494e-06/0.5388, allocations: 4 kB / 0.4949 GB, free: 1.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=60): time 0.0009955/0.5398, allocations: 0.521 MB / 0.4954 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.992e-05/0.5399, allocations: 145 kB / 0.4955 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005494/0.5405, allocations: 388.6 kB / 0.4959 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.686e-05/0.5406, allocations: 29.7 kB / 0.4959 GB, free: 500 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.5408, allocations: 344.9 kB / 0.4962 GB, free: 236 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.541, allocations: 168.2 kB / 0.4964 GB, free: 88 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.541, allocations: 4 kB / 0.4964 GB, free: 84 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.5412, allocations: 365.5 kB / 0.4967 GB, free: 15.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.5415, allocations: 190.3 kB / 0.4969 GB, free: 15.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004124/0.5419, allocations: 349.1 kB / 0.4973 GB, free: 15.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.5423, allocations: 214.7 kB / 0.4975 GB, free: 15.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.5423, allocations: 0 / 0.4975 GB, free: 15.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001127/0.5434, allocations: 0.6497 MB / 0.4981 GB, free: 14.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007329/0.5442, allocations: 1.575 MB / 0.4996 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.5442, allocations: 4 kB / 0.4996 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004869/0.5447, allocations: 160.1 kB / 0.4998 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.5451, allocations: 100.3 kB / 0.4999 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003596/0.5487, allocations: 3.496 MB / 0.5033 GB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000516/0.5493, allocations: 83.67 kB / 0.5034 GB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-05/0.5493, allocations: 29.91 kB / 0.5034 GB, free: 9.297 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.5493, allocations: 4 kB / 0.5034 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009719/0.5503, allocations: 0.5538 MB / 0.504 GB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.5503, allocations: 7.953 kB / 0.504 GB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000402/0.5507, allocations: 165.6 kB / 0.5041 GB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/0.5511, allocations: 103.9 kB / 0.5042 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003609/0.5548, allocations: 3.477 MB / 0.5076 GB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/0.5552, allocations: 71.72 kB / 0.5077 GB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-05/0.5553, allocations: 32 kB / 0.5077 GB, free: 4.645 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: 29 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.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 (68): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002265/0.5555, allocations: 134.1 kB / 0.5078 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009179/0.5564, allocations: 0.5274 MB / 0.5084 GB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.5566, allocations: 59.28 kB / 0.5084 GB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.5568, allocations: 61.72 kB / 0.5085 GB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.5568, allocations: 15.95 kB / 0.5085 GB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5568, allocations: 0 / 0.5085 GB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5568, allocations: 0 / 0.5085 GB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.559, allocations: 1.344 MB / 0.5098 GB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.559, allocations: 0 / 0.5098 GB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.5593, allocations: 59.91 kB / 0.5099 GB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003917/0.5597, allocations: 145.2 kB / 0.51 GB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.002e-05/0.5598, allocations: 3.984 kB / 0.51 GB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003291/0.5631, allocations: 3.394 MB / 0.5133 GB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.5631, allocations: 0 / 0.5133 GB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.5645, allocations: 0.9375 MB / 0.5142 GB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002692/0.5648, allocations: 188.2 kB / 0.5144 GB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.338e-05/0.5649, allocations: 15.86 kB / 0.5144 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.5653, allocations: 31.97 kB / 0.5145 GB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.5655, allocations: 84.41 kB / 0.5145 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.5655, allocations: 19.98 kB / 0.5146 GB, free: 13.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003557/0.5659, allocations: 287 kB / 0.5148 GB, free: 13.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5659, allocations: 0 / 0.5148 GB, free: 13.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001264/0.5672, allocations: 326.9 kB / 0.5151 GB, free: 12.7 MB / 394.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: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001854/0.569, allocations: 1.526 MB / 0.5166 GB, free: 11.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002044/0.5711, allocations: 1.332 MB / 0.5179 GB, free: 9.773 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.5711, allocations: 4.688 kB / 0.5179 GB, free: 9.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000652/0.5718, allocations: 0.5214 MB / 0.5185 GB, free: 9.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005564/0.5723, allocations: 87.3 kB / 0.5185 GB, free: 9.148 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.5748, allocations: 1.129 MB / 0.5196 GB, free: 7.977 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006053/0.5754, allocations: 0.9827 MB / 0.5206 GB, free: 6.965 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004545/0.5759, allocations: 112.7 kB / 0.5207 GB, free: 6.852 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003128/0.5762, allocations: 243.3 kB / 0.5209 GB, free: 6.613 MB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/0.5762, allocations: 0 / 0.5209 GB, free: 6.613 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0417/0.6179, allocations: 15.17 MB / 0.5358 GB, free: 7.664 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/0.6182, allocations: 206.2 kB / 0.5359 GB, free: 7.398 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/2.972, allocations: 0 / 0.5359 GB, free: 7.398 MB / 410.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat