Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",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.001192/0.001192, allocations: 173 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0007679/0.0007681, allocations: 78.73 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.247e-05, allocations: 4 kB / 322.6 MB, free: 17.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09185/0.09191, allocations: 47.56 MB / 370.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.303/0.3949, allocations: 80.44 MB / 450.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.3952, allocations: 88.62 kB / 450.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01658/0.4118, allocations: 6.289 MB / 456.9 MB, free: 7.473 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.4118, allocations: 0 / 456.9 MB, free: 7.473 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.063e-05/0.4118, allocations: 8 kB / 456.9 MB, free: 7.465 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009031/0.4128, allocations: 0.6069 MB / 457.6 MB, free: 6.844 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.4128, allocations: 8.031 kB / 457.6 MB, free: 6.836 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.92e-05/0.4129, allocations: 72.66 kB / 457.6 MB, free: 6.777 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.279e-05/0.413, allocations: 47.78 kB / 457.7 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.4134, allocations: 339.8 kB / 458 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.4135, allocations: 29.78 kB / 458 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.615e-05/0.4135, allocations: 37.25 kB / 458.1 MB, free: 6.352 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000579/0.4141, allocations: 357.5 kB / 458.4 MB, free: 6.086 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.4142, allocations: 3.938 kB / 458.4 MB, free: 6.082 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.4142, allocations: 17.88 kB / 458.4 MB, free: 6.078 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.4142, allocations: 8 kB / 458.5 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003875/0.4146, allocations: 230.4 kB / 458.7 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002041/0.4167, allocations: 1.486 MB / 460.2 MB, free: 4.547 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.417, allocations: 227.5 kB / 460.4 MB, free: 4.316 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.4173, allocations: 153.2 kB / 460.5 MB, free: 4.164 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.4174, allocations: 4.234 kB / 460.5 MB, free: 4.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003534/0.4177, allocations: 218.6 kB / 460.8 MB, free: 3.926 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 2.574e-06/0.4178, allocations: 0 / 460.8 MB, free: 3.926 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007187/0.4185, allocations: 325.8 kB / 461.1 MB, free: 3.598 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.692e-05/0.4186, allocations: 118.8 kB / 461.2 MB, free: 3.457 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.4189, allocations: 258.8 kB / 461.4 MB, free: 3.195 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.4189, allocations: 29.7 kB / 461.5 MB, free: 3.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.4191, allocations: 212.4 kB / 461.7 MB, free: 2.949 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.009e-05/0.4191, allocations: 94.64 kB / 461.8 MB, free: 2.855 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.559e-05/0.4192, allocations: 8 kB / 461.8 MB, free: 2.848 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4193, allocations: 346.7 kB / 462.1 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.4194, allocations: 76 kB / 462.2 MB, free: 2.426 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.4196, allocations: 203.3 kB / 462.4 MB, free: 2.172 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.4198, allocations: 103.9 kB / 462.5 MB, free: 2.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.4198, allocations: 4 kB / 462.5 MB, free: 2.066 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005764/0.4204, allocations: 381.7 kB / 462.9 MB, free: 1.684 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.4204, allocations: 8 kB / 462.9 MB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.4204, allocations: 4 kB / 462.9 MB, free: 1.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002899/0.4207, allocations: 80.81 kB / 463 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.421, allocations: 60.16 kB / 463 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.4226, allocations: 1.788 MB / 464.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.4229, allocations: 39.67 kB / 464.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.4229, allocations: 16 kB / 464.9 MB, free: 15.55 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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.0001085/0.423, allocations: 131.1 kB / 465 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/0.4231, allocations: 39.59 kB / 465 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.146e-05/0.4232, allocations: 39.22 kB / 465.1 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.4232, allocations: 4 kB / 465.1 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4232, allocations: 7.891 kB / 465.1 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.4232, allocations: 3.984 kB / 465.1 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005918/0.4238, allocations: 0.5537 MB / 465.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4238, allocations: 0 / 465.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.424, allocations: 47.94 kB / 465.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002049/0.4242, allocations: 72.95 kB / 465.8 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.4243, allocations: 15.94 kB / 465.8 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/0.4258, allocations: 1.78 MB / 467.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.4259, allocations: 4.031 kB / 467.6 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007626/0.4266, allocations: 489 kB / 468 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.4268, allocations: 136.7 kB / 468.2 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.4268, allocations: 8 kB / 468.2 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.427, allocations: 19.98 kB / 468.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.183e-05/0.4271, allocations: 23.97 kB / 468.2 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.4271, allocations: 11.98 kB / 468.2 MB, free: 11.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002025/0.4274, allocations: 206.2 kB / 468.4 MB, free: 11.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4274, allocations: 0 / 468.4 MB, free: 11.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004777/0.4278, allocations: 111.7 kB / 468.5 MB, free: 11.62 MB / 346.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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001094/0.4289, allocations: 1.106 MB / 469.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006146/0.4296, allocations: 402.6 kB / 470 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4296, allocations: 0 / 470 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000341/0.4299, allocations: 263.3 kB / 470.3 MB, free: 9.801 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.4303, allocations: 52.88 kB / 470.3 MB, free: 9.746 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.4315, allocations: 0.5588 MB / 470.9 MB, free: 9.152 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.4319, allocations: 0.8145 MB / 471.7 MB, free: 8.309 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.432, allocations: 39.17 kB / 471.8 MB, free: 8.273 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.4322, allocations: 127.4 kB / 471.9 MB, free: 8.148 MB / 346.7 MB Notification: Performance of SimCode: time 4e-07/0.4322, allocations: 0 / 471.9 MB, free: 8.148 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/0.4531, allocations: 7.386 MB / 479.3 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.4534, allocations: 227.8 kB / 479.5 MB, free: 488 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/2.408, allocations: 3.969 kB / 479.5 MB, free: 484 kB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat