Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.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_Characteristic,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001246/0.001246, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 227.2 MB / 245 MB, free: 7.664 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009374/0.0009373, allocations: 103.7 kB / 297.3 MB, free: 6.223 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002217/0.0002216, allocations: 8 kB / 358 MB, free: 9.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2115, allocations: 51.47 MB / 409.5 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1036/0.3151, allocations: 90.8 MB / 0.4886 GB, free: 15.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.3154, allocations: 97.2 kB / 0.4887 GB, free: 15.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03942/0.3548, allocations: 15.41 MB / 0.5037 GB, free: 232 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3549, allocations: 0 / 0.5037 GB, free: 232 kB / 378.7 MB Notification: Performance of Transformations before backend: time 6.632e-05/0.355, allocations: 23.94 kB / 0.5038 GB, free: 208 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.1753/0.5303, allocations: 1.019 MB / 0.5048 GB, free: 89.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.5303, allocations: 12.91 kB / 0.5048 GB, free: 89.95 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003223/0.5307, allocations: 120.2 kB / 0.5049 GB, free: 89.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004145/0.5311, allocations: 107.8 kB / 0.505 GB, free: 89.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.5323, allocations: 0.5173 MB / 0.5055 GB, free: 89.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.16e-05/0.5324, allocations: 61.47 kB / 0.5055 GB, free: 89.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.5325, allocations: 74.34 kB / 0.5056 GB, free: 89.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.534, allocations: 0.8013 MB / 0.5064 GB, free: 89.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/0.5341, allocations: 1.281 kB / 0.5064 GB, free: 89.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-05/0.5342, allocations: 32.05 kB / 0.5064 GB, free: 89.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.5342, allocations: 20.02 kB / 0.5064 GB, free: 89.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.5354, allocations: 0.6232 MB / 0.5071 GB, free: 89.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00373/0.5391, allocations: 2.784 MB / 0.5098 GB, free: 88.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.5406, allocations: 0.7415 MB / 0.5105 GB, free: 88.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.726e-05/0.5407, allocations: 6.562 kB / 0.5105 GB, free: 88.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007565/0.5414, allocations: 412 kB / 0.5109 GB, free: 88.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.176e-06/0.5414, allocations: 3.094 kB / 0.5109 GB, free: 88.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.002218/0.5437, allocations: 1.164 MB / 0.512 GB, free: 87.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.5437, allocations: 136.7 kB / 0.5122 GB, free: 87.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/0.5441, allocations: 430.8 kB / 0.5126 GB, free: 87.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.5442, allocations: 45.45 kB / 0.5126 GB, free: 87.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.5444, allocations: 339.9 kB / 0.5129 GB, free: 87.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.5445, allocations: 194.9 kB / 0.5131 GB, free: 87.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.5445, allocations: 19.72 kB / 0.5132 GB, free: 87.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.527e-05/0.5446, allocations: 373.6 kB / 0.5135 GB, free: 86.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003888/0.545, allocations: 240.6 kB / 0.5137 GB, free: 86.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000437/0.5454, allocations: 418.4 kB / 0.5141 GB, free: 86.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/0.5458, allocations: 260.6 kB / 0.5144 GB, free: 86.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5458, allocations: 3.938 kB / 0.5144 GB, free: 86.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001104/0.5469, allocations: 0.7827 MB / 0.5152 GB, free: 85.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002218/0.5472, allocations: 1.573 MB / 0.5167 GB, free: 84.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.5472, allocations: 3.688 kB / 0.5167 GB, free: 84.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003835/0.5476, allocations: 146.4 kB / 0.5168 GB, free: 84.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.548, allocations: 119.8 kB / 0.5169 GB, free: 84.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.5503, allocations: 3.475 MB / 0.5203 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/0.5507, allocations: 90.31 kB / 0.5204 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.5508, allocations: 23.88 kB / 0.5205 GB, free: 80.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.533e-06/0.5508, allocations: 3.969 kB / 0.5205 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009628/0.5517, allocations: 0.6747 MB / 0.5211 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5518, allocations: 10.39 kB / 0.5211 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000332/0.5521, allocations: 150 kB / 0.5213 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.5524, allocations: 104.1 kB / 0.5214 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.5546, allocations: 3.479 MB / 0.5248 GB, free: 77.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004077/0.555, allocations: 85.17 kB / 0.5248 GB, free: 77.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.5551, allocations: 25.25 kB / 0.5249 GB, free: 77.39 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003588/0.5554, allocations: 329 kB / 0.5252 GB, free: 77.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.374e-05/0.5555, allocations: 61.31 kB / 0.5252 GB, free: 77.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.5557, allocations: 73.92 kB / 0.5253 GB, free: 77.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.5557, allocations: 10.34 kB / 0.5253 GB, free: 77.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5557, allocations: 0 / 0.5253 GB, free: 77.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5557, allocations: 7.656 kB / 0.5253 GB, free: 77.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/0.5576, allocations: 1.524 MB / 0.5268 GB, free: 76.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5576, allocations: 2.625 kB / 0.5268 GB, free: 76.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003254/0.5579, allocations: 81.28 kB / 0.5269 GB, free: 76.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003117/0.5582, allocations: 136.6 kB / 0.527 GB, free: 76.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/0.5583, allocations: 22.86 kB / 0.527 GB, free: 76.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.5604, allocations: 3.314 MB / 0.5303 GB, free: 73.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5604, allocations: 0 / 0.5303 GB, free: 73.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.5619, allocations: 1.091 MB / 0.5314 GB, free: 72.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.5621, allocations: 199.3 kB / 0.5315 GB, free: 72.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.525e-05/0.5622, allocations: 15.3 kB / 0.5316 GB, free: 72.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.5626, allocations: 54.73 kB / 0.5316 GB, free: 72.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.5628, allocations: 82.7 kB / 0.5317 GB, free: 72.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/0.5628, allocations: 17.55 kB / 0.5317 GB, free: 72.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003048/0.5631, allocations: 337.5 kB / 0.532 GB, free: 72.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5631, allocations: 4 kB / 0.532 GB, free: 72.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001049/0.5642, allocations: 365.5 kB / 0.5324 GB, free: 72.21 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: 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 42 * 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 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001705/0.5659, allocations: 1.677 MB / 0.534 GB, free: 71.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001918/0.5678, allocations: 1.507 MB / 0.5355 GB, free: 69.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5679, allocations: 0 / 0.5355 GB, free: 69.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006481/0.5685, allocations: 0.5926 MB / 0.5361 GB, free: 69.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.5691, allocations: 117.8 kB / 0.5362 GB, free: 69.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003332/0.5724, allocations: 4.814 MB / 0.5409 GB, free: 64.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.5728, allocations: 0.9806 MB / 0.5418 GB, free: 63.53 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003514/0.5732, allocations: 102.3 kB / 0.5419 GB, free: 63.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.5734, allocations: 248.4 kB / 0.5422 GB, free: 63.24 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5734, allocations: 0 / 0.5422 GB, free: 63.24 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02901/0.6025, allocations: 16.12 MB / 0.5579 GB, free: 49.43 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/0.6027, allocations: 285.1 kB / 0.5582 GB, free: 49.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/2.802, allocations: 0 / 0.5582 GB, free: 49.07 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat