Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.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_R,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R",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.002389/0.002389, allocations: 181.2 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.335/2.335, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001093/0.001093, allocations: 86.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.202e-05/3.207e-05, allocations: 7.984 kB / 321.6 MB, free: 17.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09962/0.09967, allocations: 47.57 MB / 369.2 MB, free: 2.082 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4383/0.538, allocations: 87.07 MB / 456.3 MB, free: 6.176 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/0.5384, allocations: 91.92 kB / 456.4 MB, free: 6.121 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05455/0.593, allocations: 12.64 MB / 469 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.593, allocations: 0 / 469 MB, free: 11.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.599e-05/0.5931, allocations: 16 kB / 469 MB, free: 11.25 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.002273/0.5954, allocations: 0.8204 MB / 469.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.5955, allocations: 8.031 kB / 469.8 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002031/0.5957, allocations: 102.4 kB / 469.9 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.5959, allocations: 79.06 kB / 470 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.597, allocations: 474 kB / 470.5 MB, free: 9.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.959e-05/0.5971, allocations: 45.31 kB / 470.5 MB, free: 9.633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.5973, allocations: 63.98 kB / 470.6 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.5989, allocations: 0.5872 MB / 471.2 MB, free: 8.961 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.877e-05/0.599, allocations: 0 / 471.2 MB, free: 8.961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.582e-05/0.5991, allocations: 27.94 kB / 471.2 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.5991, allocations: 12 kB / 471.2 MB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.6003, allocations: 425.1 kB / 471.6 MB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005409/0.6058, allocations: 2.205 MB / 473.8 MB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.6073, allocations: 456.6 kB / 474.3 MB, free: 5.727 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000734/0.6081, allocations: 229.4 kB / 474.5 MB, free: 5.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.296e-05/0.6081, allocations: 4.328 kB / 474.5 MB, free: 5.496 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000716/0.6088, allocations: 290 kB / 474.8 MB, free: 5.191 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 3.487e-06/0.6089, allocations: 0 / 474.8 MB, free: 5.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.00127/0.6101, allocations: 417.6 kB / 475.2 MB, free: 4.773 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.6103, allocations: 144.5 kB / 475.3 MB, free: 4.602 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008096/0.6111, allocations: 403 kB / 475.7 MB, free: 4.207 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.697e-05/0.6112, allocations: 45.7 kB / 475.8 MB, free: 4.156 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.6115, allocations: 335.3 kB / 476.1 MB, free: 3.824 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.6117, allocations: 126.2 kB / 476.2 MB, free: 3.699 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.6118, allocations: 12 kB / 476.2 MB, free: 3.688 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.6119, allocations: 330.8 kB / 476.6 MB, free: 3.355 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004346/0.6124, allocations: 141.1 kB / 476.7 MB, free: 3.215 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005928/0.613, allocations: 312.1 kB / 477 MB, free: 2.844 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/0.6135, allocations: 156.2 kB / 477.2 MB, free: 2.691 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.6135, allocations: 7.953 kB / 477.2 MB, free: 2.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001408/0.6149, allocations: 0.5055 MB / 477.7 MB, free: 2.168 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007914/0.6157, allocations: 1.658 MB / 479.3 MB, free: 392 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.6158, allocations: 8 kB / 479.3 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005594/0.6163, allocations: 84.81 kB / 479.4 MB, free: 296 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006097/0.617, allocations: 91.83 kB / 479.5 MB, free: 204 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003019/0.62, allocations: 1.859 MB / 481.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008236/0.6209, allocations: 87.55 kB / 481.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-05/0.6209, allocations: 24 kB / 481.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.621, allocations: 4 kB / 481.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001277/0.6222, allocations: 468.3 kB / 481.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.6223, allocations: 4 kB / 482 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003921/0.6227, allocations: 92.89 kB / 482 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/0.6232, allocations: 76.25 kB / 482.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002812/0.626, allocations: 1.843 MB / 484 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/0.6266, allocations: 59.72 kB / 484 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-05/0.6267, allocations: 20 kB / 484 MB, free: 11.41 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 (56): * Single equations (assignments): 55 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002575/0.627, allocations: 160 kB / 484.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.6271, allocations: 51.34 kB / 484.2 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.6273, allocations: 52.83 kB / 484.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.6274, allocations: 11.94 kB / 484.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.6274, allocations: 0 / 484.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.6274, allocations: 4 kB / 484.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/0.6302, allocations: 1.222 MB / 485.5 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.6302, allocations: 0 / 485.5 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000382/0.6306, allocations: 43.91 kB / 485.6 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000427/0.631, allocations: 92.77 kB / 485.7 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.737e-05/0.6311, allocations: 8 kB / 485.7 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002765/0.6339, allocations: 1.753 MB / 487.4 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6339, allocations: 0 / 487.4 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.6358, allocations: 0.7346 MB / 488.2 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003436/0.6362, allocations: 172.4 kB / 488.3 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.6363, allocations: 8 kB / 488.3 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000592/0.6369, allocations: 39.97 kB / 488.4 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/0.6371, allocations: 55.88 kB / 488.4 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.436e-05/0.6372, allocations: 19.98 kB / 488.5 MB, free: 6.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006257/0.6378, allocations: 309.2 kB / 488.8 MB, free: 6.434 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.6378, allocations: 0 / 488.8 MB, free: 6.434 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001365/0.6392, allocations: 275.2 kB / 489 MB, free: 6.164 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (35): * Single equations (assignments): 29 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.002468/0.6417, allocations: 1.362 MB / 490.4 MB, free: 4.766 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003598/0.6454, allocations: 0.9166 MB / 491.3 MB, free: 3.824 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/0.6454, allocations: 0 / 491.3 MB, free: 3.824 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.6468, allocations: 350.5 kB / 491.6 MB, free: 3.469 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.6482, allocations: 88.27 kB / 491.7 MB, free: 3.383 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004544/0.6528, allocations: 0.8825 MB / 492.6 MB, free: 2.449 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.6539, allocations: 0.9178 MB / 493.5 MB, free: 1.504 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009458/0.6549, allocations: 215.3 kB / 493.7 MB, free: 1.293 MB / 362.7 MB Notification: Performance of SimCode: time 1.463e-06/0.6549, allocations: 0 / 493.7 MB, free: 1.293 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.854/3.509, allocations: 11.92 MB / 0.4938 GB, free: 5.355 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat does not exist to compare? outputFormat=mat