Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.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.Rectifier1Pulse.Thyristor1Pulse_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001945/0.001945, allocations: 198.2 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.246/1.246, allocations: 227.2 MB / 245 MB, free: 5.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009612/0.0009612, allocations: 95.61 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002284/0.0002284, allocations: 4 kB / 358 MB, free: 9.207 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1898, allocations: 51.48 MB / 409.5 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09636/0.2862, allocations: 86.67 MB / 496.2 MB, free: 3.898 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.2865, allocations: 89.44 kB / 496.3 MB, free: 3.812 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02731/0.3139, allocations: 10.55 MB / 0.4949 GB, free: 9.227 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3139, allocations: 0 / 0.4949 GB, free: 9.227 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.718e-05/0.314, allocations: 16 kB / 0.495 GB, free: 9.211 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001584/0.3155, allocations: 0.7543 MB / 0.4957 GB, free: 8.406 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3156, allocations: 8.031 kB / 0.4957 GB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.3157, allocations: 86.52 kB / 0.4958 GB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.316, allocations: 71.33 kB / 0.4959 GB, free: 8.234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005791/0.3166, allocations: 387.6 kB / 0.4962 GB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.3166, allocations: 44.94 kB / 0.4963 GB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.3167, allocations: 44 kB / 0.4963 GB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000786/0.3175, allocations: 499.8 kB / 0.4968 GB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.3175, allocations: 0 / 0.4968 GB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.752e-05/0.3175, allocations: 19.98 kB / 0.4968 GB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3176, allocations: 8 kB / 0.4968 GB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006709/0.3182, allocations: 371.7 kB / 0.4972 GB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002452/0.3207, allocations: 1.646 MB / 0.4988 GB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/0.3213, allocations: 293.4 kB / 0.4991 GB, free: 4.801 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.3213, allocations: 4 kB / 0.4991 GB, free: 4.797 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003728/0.3217, allocations: 249.1 kB / 0.4993 GB, free: 4.535 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.833e-06/0.3217, allocations: 4 kB / 0.4993 GB, free: 4.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.001079/0.3228, allocations: 0.5307 MB / 0.4998 GB, free: 3.973 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.3229, allocations: 140.5 kB / 0.5 GB, free: 3.805 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/0.3233, allocations: 340.7 kB / 0.5003 GB, free: 3.465 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.3233, allocations: 41.69 kB / 0.5003 GB, free: 3.418 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.3235, allocations: 251.9 kB / 0.5006 GB, free: 3.168 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.908e-05/0.3236, allocations: 90.8 kB / 0.5006 GB, free: 3.078 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.752e-05/0.3236, allocations: 8 kB / 0.5007 GB, free: 3.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3237, allocations: 350.8 kB / 0.501 GB, free: 2.719 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.324, allocations: 132.8 kB / 0.5011 GB, free: 2.586 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/0.3243, allocations: 291.7 kB / 0.5014 GB, free: 2.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.3246, allocations: 163 kB / 0.5015 GB, free: 2.074 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.3246, allocations: 0 / 0.5015 GB, free: 2.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007687/0.3254, allocations: 481.6 kB / 0.502 GB, free: 1.594 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.214/0.5393, allocations: 1.651 MB / 0.5036 GB, free: 93.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-05/0.5394, allocations: 4 kB / 0.5036 GB, free: 93.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003977/0.5398, allocations: 48.55 kB / 0.5037 GB, free: 93.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005155/0.5404, allocations: 71.66 kB / 0.5037 GB, free: 93.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.542, allocations: 1.508 MB / 0.5052 GB, free: 91.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006868/0.5427, allocations: 79.28 kB / 0.5053 GB, free: 91.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.5428, allocations: 20.25 kB / 0.5053 GB, free: 91.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.5428, allocations: 3.562 kB / 0.5053 GB, free: 91.7 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001092/0.5439, allocations: 393.7 kB / 0.5057 GB, free: 91.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.544, allocations: 4.5 kB / 0.5057 GB, free: 91.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/0.5442, allocations: 46.97 kB / 0.5057 GB, free: 91.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.5446, allocations: 67.52 kB / 0.5058 GB, free: 91.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.5459, allocations: 1.504 MB / 0.5073 GB, free: 90.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005426/0.5465, allocations: 59.09 kB / 0.5073 GB, free: 90.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/0.5466, allocations: 20.16 kB / 0.5073 GB, free: 90.37 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: 21 ($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,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_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000408/0.547, allocations: 292.5 kB / 0.5076 GB, free: 90.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.527e-05/0.5471, allocations: 34.5 kB / 0.5077 GB, free: 90.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.5472, allocations: 43.7 kB / 0.5077 GB, free: 90.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.5472, allocations: 3.25 kB / 0.5077 GB, free: 90.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.5472, allocations: 4.094 kB / 0.5077 GB, free: 90.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5472, allocations: 0.75 kB / 0.5077 GB, free: 90.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.5491, allocations: 0.8994 MB / 0.5086 GB, free: 89.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5491, allocations: 0 / 0.5086 GB, free: 89.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.5493, allocations: 34.75 kB / 0.5086 GB, free: 89.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000177/0.5495, allocations: 42.75 kB / 0.5087 GB, free: 89.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/0.5496, allocations: 6.922 kB / 0.5087 GB, free: 89.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.5508, allocations: 1.428 MB / 0.5101 GB, free: 88.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5508, allocations: 0 / 0.5101 GB, free: 88.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.552, allocations: 0.566 MB / 0.5106 GB, free: 88.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.5522, allocations: 144.5 kB / 0.5107 GB, free: 88.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.653e-05/0.5523, allocations: 12.22 kB / 0.5108 GB, free: 88.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004261/0.5527, allocations: 41.3 kB / 0.5108 GB, free: 88.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.5529, allocations: 29.25 kB / 0.5108 GB, free: 88.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/0.5529, allocations: 11.19 kB / 0.5108 GB, free: 88.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004638/0.5534, allocations: 267.6 kB / 0.5111 GB, free: 88.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.5534, allocations: 0 / 0.5111 GB, free: 88.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001174/0.5546, allocations: 204.4 kB / 0.5113 GB, free: 88.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001552/0.5561, allocations: 1.133 MB / 0.5124 GB, free: 87.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.558, allocations: 0.7601 MB / 0.5131 GB, free: 87.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.558, allocations: 4.375 kB / 0.5131 GB, free: 87.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005296/0.5585, allocations: 257.3 kB / 0.5134 GB, free: 87.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005244/0.5591, allocations: 56.75 kB / 0.5134 GB, free: 87.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.562, allocations: 4.181 MB / 0.5175 GB, free: 83.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.5624, allocations: 0.8603 MB / 0.5184 GB, free: 82.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003925/0.5628, allocations: 80.81 kB / 0.5184 GB, free: 82.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.5631, allocations: 144.8 kB / 0.5186 GB, free: 82.54 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5631, allocations: 0 / 0.5186 GB, free: 82.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/0.5901, allocations: 8.591 MB / 0.527 GB, free: 81.51 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/0.5904, allocations: 255 kB / 0.5272 GB, free: 81.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.06/2.65, allocations: 3.938 kB / 0.5272 GB, free: 81.18 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat does not exist to compare? outputFormat=mat