Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000935/0.0009357, allocations: 96.17 kB / 16.3 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009045/0.0009046, allocations: 172.9 kB / 17.19 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.2 MB / 241.1 MB, free: 14.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003224, allocations: 8 kB / 300.8 MB, free: 6.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1151, allocations: 50.41 MB / 351.3 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004448/0.1196, allocations: 3.722 MB / 355 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.122, allocations: 1.201 MB / 356.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003121/0.1223, allocations: 23.88 kB / 356.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.1226, allocations: 135.2 kB / 356.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007647/0.1234, allocations: 291.1 kB / 356.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.1237, allocations: 131.7 kB / 356.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.1247, allocations: 0.9629 MB / 357.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008348/0.1256, allocations: 0.7413 MB / 358.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005088/0.1261, allocations: 474.2 kB / 358.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007005/0.1268, allocations: 0.603 MB / 359.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.1269, allocations: 72 kB / 359.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.1271, allocations: 72 kB / 359.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002874/0.1274, allocations: 331 kB / 360 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000241/0.1276, allocations: 293 kB / 360.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.1289, allocations: 1.765 MB / 362 MB, free: 8.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.129, allocations: 0 / 362 MB, free: 8.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.129, allocations: 4 kB / 362 MB, free: 8.836 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.129, allocations: 0 / 362 MB, free: 8.836 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002723/0.1317, allocations: 1.557 MB / 363.6 MB, free: 7.227 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1318, allocations: 12.03 kB / 363.6 MB, free: 7.215 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002052/0.132, allocations: 164.6 kB / 363.8 MB, free: 7.043 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.1322, allocations: 146.2 kB / 363.9 MB, free: 6.898 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.1337, allocations: 0.926 MB / 364.8 MB, free: 5.926 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.02e-05/0.1338, allocations: 82.06 kB / 364.9 MB, free: 5.844 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.1339, allocations: 104 kB / 365 MB, free: 5.742 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/0.1364, allocations: 1.553 MB / 366.6 MB, free: 4.133 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.1365, allocations: 3.938 kB / 366.6 MB, free: 4.129 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.1366, allocations: 47.95 kB / 366.6 MB, free: 4.082 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.447e-05/0.1367, allocations: 42.03 kB / 366.7 MB, free: 4.039 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/0.1391, allocations: 1.448 MB / 368.1 MB, free: 2.582 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2117/0.3508, allocations: 4.972 MB / 373.1 MB, free: 21.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003023/0.3539, allocations: 1.465 MB / 374.5 MB, free: 20.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.323e-05/0.354, allocations: 8.703 kB / 374.5 MB, free: 20.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001755/0.3558, allocations: 0.6167 MB / 375.2 MB, free: 20.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 3.757e-06/0.3558, allocations: 3.094 kB / 375.2 MB, free: 20.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.009122/0.3649, allocations: 2.438 MB / 377.6 MB, free: 19.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.365, allocations: 88.09 kB / 377.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.3669, allocations: 0.9329 MB / 378.6 MB, free: 19.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.462e-05/0.367, allocations: 42.91 kB / 378.7 MB, free: 19.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005442/0.3675, allocations: 0.5268 MB / 379.2 MB, free: 19.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000233/0.3678, allocations: 230.2 kB / 379.4 MB, free: 18.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.3678, allocations: 10.59 kB / 379.4 MB, free: 18.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.602e-05/0.3679, allocations: 333.9 kB / 379.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000997/0.3689, allocations: 425.3 kB / 380.2 MB, free: 18.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.3701, allocations: 0.5537 MB / 380.7 MB, free: 18.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.3712, allocations: 459.3 kB / 381.2 MB, free: 17.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/0.3713, allocations: 0.9688 kB / 381.2 MB, free: 17.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003773/0.3751, allocations: 1.301 MB / 382.5 MB, free: 17.44 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.3751, allocations: 11.34 kB / 382.5 MB, free: 17.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.3751, allocations: 4.281 kB / 382.5 MB, free: 17.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/0.3767, allocations: 403.8 kB / 382.9 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007497/0.3775, allocations: 113.5 kB / 383 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008038/0.3856, allocations: 4.265 MB / 387.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.3868, allocations: 88.59 kB / 387.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.31e-05/0.3869, allocations: 32.95 kB / 387.4 MB, free: 14.63 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.001201/0.3881, allocations: 496.8 kB / 387.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.3884, allocations: 91.81 kB / 388 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.3886, allocations: 123.3 kB / 388.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.3886, allocations: 6.906 kB / 388.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.3887, allocations: 0 / 388.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.3887, allocations: 3.984 kB / 388.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006192/0.3949, allocations: 2.589 MB / 390.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.3949, allocations: 4.969 kB / 390.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006788/0.3956, allocations: 90 kB / 390.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/0.3968, allocations: 393.6 kB / 391.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.938e-05/0.3969, allocations: 11.97 kB / 391.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006301/0.4032, allocations: 4.229 MB / 395.4 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4032, allocations: 3.938 kB / 395.4 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/0.4059, allocations: 1.978 MB / 397.4 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000476/0.4064, allocations: 285.4 kB / 397.7 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.4065, allocations: 12.84 kB / 397.7 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004163/0.4069, allocations: 50.67 kB / 397.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.4071, allocations: 78.25 kB / 397.8 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/0.4072, allocations: 19.17 kB / 397.8 MB, free: 7.797 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007909/0.408, allocations: 0.6707 MB / 398.5 MB, free: 7.418 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.408, allocations: 0 / 398.5 MB, free: 7.418 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001131/0.4091, allocations: 344 kB / 398.8 MB, free: 7.34 MB / 302.1 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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * 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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.002611/0.4117, allocations: 2.561 MB / 401.4 MB, free: 4.898 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001947/0.4137, allocations: 1.294 MB / 402.7 MB, free: 3.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4137, allocations: 0 / 402.7 MB, free: 3.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.4148, allocations: 0.8095 MB / 403.5 MB, free: 2.773 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000891/0.4157, allocations: 236.1 kB / 403.7 MB, free: 2.543 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006946/0.4226, allocations: 6.272 MB / 410 MB, free: 12.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/0.4239, allocations: 1.403 MB / 411.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006272/0.4246, allocations: 175.2 kB / 411.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006322/0.4252, allocations: 415.3 kB / 412 MB, free: 10.14 MB / 318.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4252, allocations: 0 / 412 MB, free: 10.14 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04797/0.4732, allocations: 25.37 MB / 437.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/0.4735, allocations: 270.6 kB / 437.6 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/2.868, allocations: 0 / 437.6 MB, free: 0.8906 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat