Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_0_0_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 112.6 kB / 16.51 MB, free: 6.648 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.001088/0.001088, allocations: 198.4 kB / 17.43 MB, free: 6.062 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.181/1.181, allocations: 222.9 MB / 241.1 MB, free: 15.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 42.75 kB / 300.1 MB, free: 6.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09726/0.09839, allocations: 49.45 MB / 349.5 MB, free: 4.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.006806/0.1052, allocations: 3.481 MB / 353 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.1073, allocations: 0.8257 MB / 353.8 MB, free: 392 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002802/0.1076, allocations: 8 kB / 353.8 MB, free: 384 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.1079, allocations: 51.55 kB / 353.9 MB, free: 332 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00047/0.1084, allocations: 107.2 kB / 354 MB, free: 224 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004412/0.1089, allocations: 123.9 kB / 354.1 MB, free: 100 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007361/0.1096, allocations: 493.8 kB / 354.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003868/0.11, allocations: 153.6 kB / 354.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003166/0.1104, allocations: 179.2 kB / 354.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003624/0.1107, allocations: 202.9 kB / 355.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.799e-05/0.1109, allocations: 28 kB / 355.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.111, allocations: 28 kB / 355.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.1111, allocations: 87.62 kB / 355.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003065/0.1114, allocations: 210.9 kB / 355.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006416/0.1121, allocations: 0.4905 MB / 356 MB, free: 14.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1121, allocations: 0 / 356 MB, free: 14.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.093e-06/0.1121, allocations: 0 / 356 MB, free: 14.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.1122, allocations: 0 / 356 MB, free: 14.24 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.00138/0.1135, allocations: 0.7378 MB / 356.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1136, allocations: 8.031 kB / 356.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.046e-05/0.1137, allocations: 74.72 kB / 356.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.392e-05/0.1138, allocations: 48.38 kB / 356.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.1142, allocations: 336.3 kB / 357.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.1142, allocations: 29.38 kB / 357.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.339e-05/0.1143, allocations: 36.38 kB / 357.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007394/0.1151, allocations: 399.8 kB / 357.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.1151, allocations: 3.984 kB / 357.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.1151, allocations: 15.98 kB / 357.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.1152, allocations: 8 kB / 357.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005989/0.1158, allocations: 263.8 kB / 357.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/0.118, allocations: 1.496 MB / 359.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004763/0.1185, allocations: 242.1 kB / 359.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004284/0.1189, allocations: 179.6 kB / 359.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.119, allocations: 4.234 kB / 359.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004211/0.1194, allocations: 218 kB / 360 MB, free: 9.945 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.794e-06/0.1194, allocations: 4 kB / 360 MB, free: 9.941 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001718/0.1211, allocations: 0.581 MB / 360.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.1212, allocations: 110.8 kB / 360.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.1215, allocations: 300.5 kB / 361 MB, free: 8.898 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.1215, allocations: 29.7 kB / 361 MB, free: 8.863 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.1217, allocations: 212.3 kB / 361.2 MB, free: 8.652 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.1218, allocations: 106.5 kB / 361.3 MB, free: 8.547 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.1219, allocations: 66.06 kB / 361.4 MB, free: 8.473 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.122, allocations: 350.7 kB / 361.7 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.1222, allocations: 88.72 kB / 361.8 MB, free: 8.035 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.1225, allocations: 229.4 kB / 362.1 MB, free: 7.754 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004431/0.1229, allocations: 324.9 kB / 362.4 MB, free: 7.383 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.1229, allocations: 7.938 kB / 362.4 MB, free: 7.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006701/0.1236, allocations: 409.2 kB / 362.8 MB, free: 6.969 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1236, allocations: 4 kB / 362.8 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.1236, allocations: 4 kB / 362.8 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002822/0.1239, allocations: 93.25 kB / 362.9 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.1241, allocations: 59.91 kB / 362.9 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/0.1258, allocations: 1.803 MB / 364.7 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.126, allocations: 35.67 kB / 364.8 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.126, allocations: 20 kB / 364.8 MB, free: 4.812 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n.off,rectifier.diode_p.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001614/0.1262, allocations: 177.3 kB / 365 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.837e-05/0.1263, allocations: 39.62 kB / 365 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.603e-05/0.1263, allocations: 39.09 kB / 365 MB, free: 4.559 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1263, allocations: 4 kB / 365.1 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.1263, allocations: 0 / 365.1 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1263, allocations: 0 / 365.1 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005411/0.1269, allocations: 0.5692 MB / 365.6 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1269, allocations: 0 / 365.6 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.1271, allocations: 32.17 kB / 365.7 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002229/0.1273, allocations: 88.72 kB / 365.7 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.1273, allocations: 11.98 kB / 365.8 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/0.1289, allocations: 1.784 MB / 367.5 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1289, allocations: 3.984 kB / 367.5 MB, free: 1.867 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008506/0.1298, allocations: 0.4918 MB / 368 MB, free: 1.348 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.1299, allocations: 128.8 kB / 368.2 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.13, allocations: 11.98 kB / 368.2 MB, free: 1.191 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.1301, allocations: 15.98 kB / 368.2 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.189e-05/0.1302, allocations: 27.89 kB / 368.2 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.1303, allocations: 12 kB / 368.2 MB, free: 1.137 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001837/0.1304, allocations: 219 kB / 368.4 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.333e-06/0.1305, allocations: 0 / 368.4 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004341/0.1309, allocations: 111.6 kB / 368.5 MB, free: 0.8164 MB / 302.1 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.1374/0.2683, allocations: 1.046 MB / 369.6 MB, free: 25.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008959/0.2693, allocations: 408.1 kB / 370 MB, free: 25.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.2693, allocations: 2.312 kB / 370 MB, free: 25.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000427/0.2697, allocations: 282.1 kB / 370.3 MB, free: 25.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.2702, allocations: 58.59 kB / 370.3 MB, free: 25.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/0.2746, allocations: 3.592 MB / 373.9 MB, free: 23.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.2748, allocations: 0.8092 MB / 374.7 MB, free: 22.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001497/0.275, allocations: 33.95 kB / 374.8 MB, free: 22.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.2751, allocations: 119.6 kB / 374.9 MB, free: 22.34 MB / 302.1 MB Notification: Performance of SimCode: time 1.052e-06/0.2751, allocations: 0 / 374.9 MB, free: 22.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.464/1.739, allocations: 7.633 MB / 382.5 MB, free: 20.85 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/1.74, allocations: 298.8 kB / 382.8 MB, free: 20.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.441/4.18, allocations: 3.375 kB / 382.8 MB, free: 20.46 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)