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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008734/0.0008735, allocations: 93.25 kB / 17.3 MB, free: 6.395 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.001073/0.001073, allocations: 172.9 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004894/0.0004893, allocations: 8.469 kB / 281.5 MB, free: 3.309 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09232/0.09282, allocations: 47.58 MB / 329.1 MB, free: 3.648 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003387/0.09625, allocations: 3.054 MB / 332.1 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.09807, allocations: 0.854 MB / 333 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003694/0.09846, allocations: 11.94 kB / 333 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.09872, allocations: 43.62 kB / 333 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00049/0.09923, allocations: 107.2 kB / 333.1 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.0996, allocations: 115.9 kB / 333.3 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006193/0.1002, allocations: 485.9 kB / 333.7 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003212/0.1006, allocations: 157.6 kB / 333.9 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002694/0.1008, allocations: 159.2 kB / 334 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.1011, allocations: 183 kB / 334.2 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.307e-05/0.1012, allocations: 20 kB / 334.2 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.599e-05/0.1013, allocations: 24 kB / 334.3 MB, free: 14.42 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.67e-05/0.1014, allocations: 75.61 kB / 334.3 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.1016, allocations: 216.6 kB / 334.5 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003929/0.102, allocations: 490.1 kB / 335 MB, free: 13.65 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.102, allocations: 0 / 335 MB, free: 13.65 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.102, allocations: 0 / 335 MB, free: 13.65 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.857e-05/0.102, allocations: 0 / 335 MB, free: 13.65 MB / 286.1 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.001046/0.1031, allocations: 0.6482 MB / 335.7 MB, free: 12.95 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1031, allocations: 8.031 kB / 335.7 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.796e-05/0.1032, allocations: 78.64 kB / 335.8 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.455e-05/0.1033, allocations: 48.38 kB / 335.8 MB, free: 12.81 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.1037, allocations: 344.3 kB / 336.1 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.1037, allocations: 25.38 kB / 336.2 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.796e-05/0.1038, allocations: 36.38 kB / 336.2 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006363/0.1044, allocations: 387.1 kB / 336.6 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.1044, allocations: 4 kB / 336.6 MB, free: 11.97 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/0.1045, allocations: 23.98 kB / 336.6 MB, free: 11.95 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.108e-06/0.1045, allocations: 8 kB / 336.6 MB, free: 11.94 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000485/0.105, allocations: 262.4 kB / 336.9 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.1068, allocations: 1.479 MB / 338.4 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/0.1073, allocations: 251.3 kB / 338.6 MB, free: 9.859 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.1076, allocations: 169.3 kB / 338.8 MB, free: 9.691 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.1076, allocations: 4.234 kB / 338.8 MB, free: 9.688 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000368/0.108, allocations: 237.9 kB / 339 MB, free: 9.434 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.108, allocations: 0 / 339 MB, free: 9.434 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.001431/0.1095, allocations: 0.5927 MB / 339.6 MB, free: 8.812 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.1095, allocations: 118.8 kB / 339.7 MB, free: 8.672 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.1098, allocations: 292.6 kB / 340 MB, free: 8.379 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.1099, allocations: 37.73 kB / 340 MB, free: 8.336 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.11, allocations: 212.3 kB / 340.2 MB, free: 8.125 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.163e-05/0.1101, allocations: 98.64 kB / 340.3 MB, free: 8.027 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.1101, allocations: 41.69 kB / 340.4 MB, free: 7.98 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1102, allocations: 338.8 kB / 340.7 MB, free: 7.641 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.1104, allocations: 92.7 kB / 340.8 MB, free: 7.547 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.1107, allocations: 229.5 kB / 341 MB, free: 7.266 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.1112, allocations: 339.1 kB / 341.3 MB, free: 6.879 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1112, allocations: 0 / 341.3 MB, free: 6.879 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006943/0.1119, allocations: 425.4 kB / 341.8 MB, free: 6.453 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1119, allocations: 4.5 kB / 341.8 MB, free: 6.449 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.112, allocations: 11.98 kB / 341.8 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002985/0.1123, allocations: 84.75 kB / 341.9 MB, free: 6.352 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.1125, allocations: 59.91 kB / 341.9 MB, free: 6.293 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.1143, allocations: 1.799 MB / 343.7 MB, free: 4.352 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.1145, allocations: 47.73 kB / 343.8 MB, free: 4.305 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.1145, allocations: 16 kB / 343.8 MB, free: 4.289 MB / 286.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0001796/0.1147, allocations: 166.8 kB / 343.9 MB, free: 4.117 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.1148, allocations: 35.56 kB / 344 MB, free: 4.082 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.202e-05/0.1149, allocations: 39.09 kB / 344 MB, free: 4.047 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.1149, allocations: 4 kB / 344 MB, free: 4.043 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.1149, allocations: 0 / 344 MB, free: 4.043 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.1149, allocations: 7.984 kB / 344 MB, free: 4.035 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005758/0.1155, allocations: 0.5693 MB / 344.6 MB, free: 3.406 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1155, allocations: 3.938 kB / 344.6 MB, free: 3.402 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.1157, allocations: 35.92 kB / 344.6 MB, free: 3.367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002141/0.1159, allocations: 76.8 kB / 344.7 MB, free: 3.289 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.1159, allocations: 12.03 kB / 344.7 MB, free: 3.277 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.1176, allocations: 1.804 MB / 346.5 MB, free: 1.34 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1176, allocations: 3.938 kB / 346.5 MB, free: 1.336 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008528/0.1185, allocations: 0.5105 MB / 347 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.1186, allocations: 132.7 kB / 347.2 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.1187, allocations: 8 kB / 347.2 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.1188, allocations: 19.98 kB / 347.2 MB, free: 0.625 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.334e-05/0.1189, allocations: 23.97 kB / 347.2 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.119, allocations: 11.98 kB / 347.2 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.1192, allocations: 211 kB / 347.4 MB, free: 396 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1192, allocations: 0 / 347.4 MB, free: 396 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004402/0.1196, allocations: 111.7 kB / 347.6 MB, free: 284 kB / 286.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.00119/0.1208, allocations: 1.063 MB / 348.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007137/0.1215, allocations: 423.4 kB / 349 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1215, allocations: 0 / 349 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.1219, allocations: 286.4 kB / 349.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.1223, allocations: 56.97 kB / 349.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004797/0.1271, allocations: 3.633 MB / 353 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.1275, allocations: 0.8029 MB / 353.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.00014/0.1277, allocations: 35.23 kB / 353.8 MB, free: 9.703 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.1279, allocations: 123.4 kB / 354 MB, free: 9.582 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1279, allocations: 0 / 354 MB, free: 9.582 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.1475, allocations: 7.497 MB / 361.5 MB, free: 2.082 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000266/0.1478, allocations: 293.2 kB / 361.7 MB, free: 1.695 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/1.989, allocations: 0 / 361.7 MB, free: 1.695 MB / 302.1 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/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)